Fix multipart upload etag on azure gateway (#5055)

master
Julien Maitrehenry 7 years ago committed by Dee Koder
parent 7e05b826fa
commit 1256b0b818
  1. 2
      cmd/gateway-azure.go

@ -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

Loading…
Cancel
Save