Fix s3MetaToAzureProperties Content-Md5 key (#5068)

This commit is contained in:
Julien Maitrehenry
2017-10-25 13:36:37 -04:00
committed by deekoder
parent 866dffcd62
commit db3fed2279
2 changed files with 12 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ func s3MetaToAzureProperties(s3Metadata map[string]string) (storage.BlobMetadata
case k == "Content-Length":
// assume this doesn't fail
props.ContentLength, _ = strconv.ParseInt(v, 10, 64)
case k == "Content-MD5":
case k == "Content-Md5":
props.ContentMD5 = v
case k == "Content-Type":
props.ContentType = v