From 186000328eb4b8b4b5bbd77e3da7964f26c6e837 Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Tue, 19 Jun 2018 23:52:08 +0530 Subject: [PATCH] Update StorageClass from Objectinfo (#6054) See #6051 --- cmd/gateway-common.go | 1 + 1 file changed, 1 insertion(+) 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, } }