mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
CopyObjectPart: remove duplicated etag decryption (#7174)
This commit is contained in:
parent
9dc9f03c02
commit
36dae04671
@ -1727,9 +1727,6 @@ func (api objectAPIHandlers) CopyObjectPartHandler(w http.ResponseWriter, r *htt
|
||||
writeErrorResponse(w, toAPIErrorCode(ctx, err), r.URL, guessIsBrowserReq(r))
|
||||
return
|
||||
}
|
||||
if isEncrypted {
|
||||
partInfo.ETag = tryDecryptETag(objectEncryptionKey, partInfo.ETag, crypto.SSEC.IsRequested(r.Header))
|
||||
}
|
||||
|
||||
if isEncrypted {
|
||||
partInfo.ETag = tryDecryptETag(objectEncryptionKey, partInfo.ETag, crypto.SSEC.IsRequested(r.Header))
|
||||
|
Loading…
Reference in New Issue
Block a user