fix: Fixes #300, Removed Displayname field from ListBuckets output as it's not supported in the gateway

This commit is contained in:
jonaustin09
2023-11-29 11:49:27 -05:00
parent ff787dc8f7
commit c4b019f6ee
+1 -2
View File
@@ -74,8 +74,7 @@ func (s *S3be) ListBuckets(ctx context.Context, owner string, isAdmin bool) (s3r
return s3response.ListAllMyBucketsResult{
Owner: s3response.CanonicalUser{
ID: *output.Owner.ID,
DisplayName: *output.Owner.DisplayName,
ID: *output.Owner.ID,
},
Buckets: s3response.ListAllMyBucketsList{
Bucket: buckets,