diff options
| author | chrislu <chris.lu@gmail.com> | 2022-01-21 13:29:47 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-01-21 13:29:47 -0800 |
| commit | 9d0f58c3293a82aad258508a4a44e1027424c480 (patch) | |
| tree | 63e21421bf291594909653eb380a4d0bcac12d2d | |
| parent | ce2049cdb6f3082d854a2649b4eea53f9774ddb5 (diff) | |
| download | seaweedfs-9d0f58c3293a82aad258508a4a44e1027424c480.tar.xz seaweedfs-9d0f58c3293a82aad258508a4a44e1027424c480.zip | |
skip printing fs configuration
| -rw-r--r-- | weed/shell/command_s3_bucket_quota_check.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/shell/command_s3_bucket_quota_check.go b/weed/shell/command_s3_bucket_quota_check.go index 3620b92ed..742877c1c 100644 --- a/weed/shell/command_s3_bucket_quota_check.go +++ b/weed/shell/command_s3_bucket_quota_check.go @@ -84,9 +84,6 @@ func (c *commandS3BucketQuotaEnforce) Do(args []string, commandEnv *CommandEnv, var buf2 bytes.Buffer fc.ToText(&buf2) - fmt.Fprintf(writer, string(buf2.Bytes())) - fmt.Fprintln(writer) - if err = commandEnv.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error { return filer.SaveInsideFiler(client, filer.DirectoryEtcSeaweedFS, filer.FilerConfName, buf2.Bytes()) }); err != nil && err != filer_pb.ErrNotFound { |
