diff options
Diffstat (limited to 'weed/shell/command_s3_configure.go')
| -rw-r--r-- | weed/shell/command_s3_configure.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_configure.go b/weed/shell/command_s3_configure.go index 0726bd143..478d62a6d 100644 --- a/weed/shell/command_s3_configure.go +++ b/weed/shell/command_s3_configure.go @@ -176,7 +176,7 @@ func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io buf.Reset() filer.ProtoToText(&buf, s3cfg) - fmt.Fprintf(writer, string(buf.Bytes())) + fmt.Fprint(writer, buf.String()) fmt.Fprintln(writer) if *apply { |
