aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_s3_bucket_quota_check.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-03-06 17:09:55 -0800
committerchrislu <chris.lu@gmail.com>2022-03-06 17:09:55 -0800
commitede6ce44c6054cdec9be9127fe3446bad93f7259 (patch)
treeda5f0dced156db1a156ac2ee3079305761d78e1c /weed/shell/command_s3_bucket_quota_check.go
parent21ef152423b710282ed2c2205f5b1009d14cfef8 (diff)
downloadseaweedfs-ede6ce44c6054cdec9be9127fe3446bad93f7259.tar.xz
seaweedfs-ede6ce44c6054cdec9be9127fe3446bad93f7259.zip
fix test
Diffstat (limited to 'weed/shell/command_s3_bucket_quota_check.go')
-rw-r--r--weed/shell/command_s3_bucket_quota_check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_bucket_quota_check.go b/weed/shell/command_s3_bucket_quota_check.go
index a901af077..0e0665cc6 100644
--- a/weed/shell/command_s3_bucket_quota_check.go
+++ b/weed/shell/command_s3_bucket_quota_check.go
@@ -121,7 +121,7 @@ func (c *commandS3BucketQuotaEnforce) processEachBucket(fc *filer.FilerConf, fil
}
if hasConfChanges {
- fmt.Fprintf(writer, " %s\tsize:%d", entry.Name, collectionSize)
+ fmt.Fprintf(writer, " %s\tsize:%.0f", entry.Name, collectionSize)
fmt.Fprintf(writer, "\tquota:%d\tusage:%.2f%%", entry.Quota, collectionSize*100/float64(entry.Quota))
fmt.Fprintln(writer)
if locConf.ReadOnly {