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,
ModTime: oi.LastModified,
Size: oi.Size,
ETag: oi.ETag,
ETag: canonicalizeETag(oi.ETag),
UserDefined: userDefined,
ContentType: oi.ContentType,
ContentEncoding: oi.Metadata.Get("Content-Encoding"),