mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
fix: regression in CopyObject not preserving ETag in --compat (#9322)
issue found after `git bisect` to commit db41953618
This commit is contained in:
parent
c434dff0a4
commit
29e0727b58
@ -993,7 +993,9 @@ func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Re
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
pReader = NewPutObjReader(rawReader, srcInfo.Reader, &objEncKey)
|
if isTargetEncrypted {
|
||||||
|
pReader = NewPutObjReader(rawReader, srcInfo.Reader, &objEncKey)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user