mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 21:20:23 +03:00
remove ListBucketsMetadata instead add them to AccountInfo() (#13241)
This commit is contained in:
+1
-4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user