gateway-gcs: double quotes should be striped from ETag (#4590)

This commit is contained in:
Krishna Srinivas 2017-06-23 12:19:10 -07:00 committed by Harshavardhana
parent a3b085300d
commit ff036c171f

View File

@ -311,7 +311,7 @@ func fromMinioClientObjectInfo(bucket string, oi minio.ObjectInfo) ObjectInfo {
Name: oi.Key, Name: oi.Key,
ModTime: oi.LastModified, ModTime: oi.LastModified,
Size: oi.Size, Size: oi.Size,
ETag: oi.ETag, ETag: canonicalizeETag(oi.ETag),
UserDefined: userDefined, UserDefined: userDefined,
ContentType: oi.ContentType, ContentType: oi.ContentType,
ContentEncoding: oi.Metadata.Get("Content-Encoding"), ContentEncoding: oi.Metadata.Get("Content-Encoding"),