diff --git a/api/pkg/s3/datatype/api-datatypes.go b/api/pkg/s3/datatype/api-datatypes.go index 46546ee5d..25bfb1663 100644 --- a/api/pkg/s3/datatype/api-datatypes.go +++ b/api/pkg/s3/datatype/api-datatypes.go @@ -195,6 +195,7 @@ type Bucket struct { LocationConstraint string VersionOpts VersioningConfiguration SSEOpts SSEConfiguration + TenantId string } // added for soda diff --git a/api/pkg/s3/listbuckets.go b/api/pkg/s3/listbuckets.go index 6005b2cd5..21d4382b2 100644 --- a/api/pkg/s3/listbuckets.go +++ b/api/pkg/s3/listbuckets.go @@ -50,7 +50,7 @@ func parseListBuckets(list *s3.ListBucketsResponse) ListBucketsResponse { } } bucket := Bucket{Name: value.Name, CreationDate: ctime, LocationConstraint: value.DefaultLocation, - VersionOpts: versionOpts, SSEOpts: sseOpts} + VersionOpts: versionOpts, SSEOpts: sseOpts, TenantId: value.TenantId} buckets = append(buckets, bucket) } resp.Buckets.Buckets = buckets