Fix multipart restore to remove part match (#12161)

Part ETags are not available after multipart finalizes, removing this
check as not useful.

Signed-off-by: Poorna Krishnamoorthy <poorna@minio.io>
Co-authored-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
Poorna Krishnamoorthy
2021-04-26 18:24:06 -07:00
committed by GitHub
parent 26544848ea
commit 4be0f92067
5 changed files with 13 additions and 31 deletions

View File

@@ -495,7 +495,7 @@ func (e TransitionStorageClassNotFound) Error() string {
type InvalidObjectState GenericError
func (e InvalidObjectState) Error() string {
return "The operation is not valid for the current state of the object" + e.Bucket + "/" + e.Object
return "The operation is not valid for the current state of the object " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
}
/// Bucket related errors.