skip printing fs configuration
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user