mirror of
https://github.com/minio/minio.git
synced 2025-04-20 02:27:50 -04:00
do not add quotes around etag, if already present (#9603)
This commit is contained in:
parent
48e614b167
commit
6c1bbf918d
@ -601,7 +601,7 @@ func (l *s3Objects) CompleteMultipartUpload(ctx context.Context, bucket string,
|
|||||||
return oi, minio.ErrorRespToObjectError(err, bucket, object)
|
return oi, minio.ErrorRespToObjectError(err, bucket, object)
|
||||||
}
|
}
|
||||||
|
|
||||||
return minio.ObjectInfo{Bucket: bucket, Name: object, ETag: etag}, nil
|
return minio.ObjectInfo{Bucket: bucket, Name: object, ETag: strings.Trim(etag, "\"")}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBucketPolicy sets policy on bucket
|
// SetBucketPolicy sets policy on bucket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user