aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-03-14 08:38:02 -0700
committerchrislu <chris.lu@gmail.com>2023-03-14 08:38:02 -0700
commit2268d382637e6ff3ce19d4ea9cd76ffd9e05b67e (patch)
tree17cbdf51f2ebd348c471881b4fe3e491cb7b1833
parentb12d9b859882226be4f1d3c2702824ae01724526 (diff)
downloadseaweedfs-2268d382637e6ff3ce19d4ea9cd76ffd9e05b67e.tar.xz
seaweedfs-2268d382637e6ff3ce19d4ea9cd76ffd9e05b67e.zip
fix naming
fix https://github.com/seaweedfs/seaweedfs/issues/4305
-rw-r--r--weed/shell/command_s3_bucket_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_bucket_list.go b/weed/shell/command_s3_bucket_list.go
index 32ea09593..3b607a799 100644
--- a/weed/shell/command_s3_bucket_list.go
+++ b/weed/shell/command_s3_bucket_list.go
@@ -63,7 +63,7 @@ func (c *commandS3BucketList) Do(args []string, commandEnv *CommandEnv, writer i
collectionSize = collectionInfo.Size
fileCount = collectionInfo.FileCount - collectionInfo.DeleteCount
}
- fmt.Fprintf(writer, " %s\tsize:%.0f\tfile:%.0f", entry.Name, collectionSize, fileCount)
+ fmt.Fprintf(writer, " %s\tsize:%.0f\tchunk:%.0f", entry.Name, collectionSize, fileCount)
if entry.Quota > 0 {
fmt.Fprintf(writer, "\tquota:%d\tusage:%.2f%%", entry.Quota, float64(collectionSize)*100/float64(entry.Quota))
}