stat: fix printing bucket usage info (#4542)

This commit is contained in:
Anis Eleuch
2023-04-10 09:32:41 -07:00
committed by GitHub
parent a06e46677a
commit 50f11d8248
+1
View File
@@ -2848,6 +2848,7 @@ func (c *S3Client) GetBucketInfo(ctx context.Context) (BucketInfo, *probe.Error)
if err != nil {
return b, err.Trace(bucket)
}
b.Key = bucket
b.URL = content.URL
b.Size = content.Size
b.Type = content.Type