diff --git a/cmd/gateway-common.go b/cmd/gateway-common.go index 2e35f5187..abdcf025b 100644 --- a/cmd/gateway-common.go +++ b/cmd/gateway-common.go @@ -154,6 +154,7 @@ func FromMinioClientObjectInfo(bucket string, oi minio.ObjectInfo) ObjectInfo { UserDefined: userDefined, ContentType: oi.ContentType, ContentEncoding: oi.Metadata.Get("Content-Encoding"), + StorageClass: oi.StorageClass, } }