mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
skip printing fs configuration
This commit is contained in:
parent
ce2049cdb6
commit
9d0f58c329
|
@ -84,9 +84,6 @@ func (c *commandS3BucketQuotaEnforce) Do(args []string, commandEnv *CommandEnv,
|
||||||
var buf2 bytes.Buffer
|
var buf2 bytes.Buffer
|
||||||
fc.ToText(&buf2)
|
fc.ToText(&buf2)
|
||||||
|
|
||||||
fmt.Fprintf(writer, string(buf2.Bytes()))
|
|
||||||
fmt.Fprintln(writer)
|
|
||||||
|
|
||||||
if err = commandEnv.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error {
|
if err = commandEnv.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error {
|
||||||
return filer.SaveInsideFiler(client, filer.DirectoryEtcSeaweedFS, filer.FilerConfName, buf2.Bytes())
|
return filer.SaveInsideFiler(client, filer.DirectoryEtcSeaweedFS, filer.FilerConfName, buf2.Bytes())
|
||||||
}); err != nil && err != filer_pb.ErrNotFound {
|
}); err != nil && err != filer_pb.ErrNotFound {
|
||||||
|
|
Loading…
Reference in a new issue