feat: Add ListBucketsWithMetadata extension API (#13219)

This commit is contained in:
Harshavardhana
2021-09-16 09:52:41 -07:00
committed by GitHub
parent 78dc08bdc2
commit 45bcf73185
5 changed files with 105 additions and 7 deletions
+4 -1
View File
@@ -104,7 +104,10 @@ func (er erasureObjects) getBucketInfo(ctx context.Context, bucketName string) (
if err != nil {
return err
}
bucketsInfo[index] = BucketInfo(volInfo)
bucketsInfo[index] = BucketInfo{
Name: volInfo.Name,
Created: volInfo.Created,
}
return nil
}, index)
}