remove ListBucketsMetadata instead add them to AccountInfo() (#13241)

This commit is contained in:
Harshavardhana authored and GitHub committed 2021-09-17 15:02:21 -07:00
1 parent 5ed781a330
commit 6d42569ade
8 files changed
+32 -108

No files matched your search

+1 -4
View File
@@ -859,10 +859,7 @@ func (s *erasureSets) ListBuckets(ctx context.Context) (buckets []BucketInfo, er
}
for _, v := range healBuckets {
listBuckets = append(listBuckets, BucketInfo{
Name: v.Name,
Created: v.Created,
})
listBuckets = append(listBuckets, BucketInfo(v))
}
sort.Slice(listBuckets, func(i, j int) bool {