mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05: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 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
|
||||
|
Loading…
Reference in New Issue
Block a user