Fix multipart upload etag on azure gateway (#5055)

This commit is contained in:
Julien Maitrehenry 2017-10-20 17:00:19 -04:00 committed by Dee Koder
parent 7e05b826fa
commit 1256b0b818

View File

@ -636,7 +636,7 @@ func (a *azureObjects) PutObjectPart(bucket, object, uploadID string, partID int
etag := data.md5Sum etag := data.md5Sum
if etag == "" { if etag == "" {
// Generate random ETag. // Generate random ETag.
etag = getMD5Hash([]byte(mustGetUUID())) etag = azureToS3ETag(getMD5Hash([]byte(mustGetUUID())))
} }
subPartSize, subPartNumber := int64(azureBlockSize), 1 subPartSize, subPartNumber := int64(azureBlockSize), 1