mirror of
https://github.com/minio/minio
synced 2024-10-14 11:52:56 +00:00
fix: UpdateObjectVersion should compare versionID through versions (#12726)
fixes #12703
This commit is contained in:
parent
9516587a6c
commit
a6ec405443
|
@ -784,7 +784,9 @@ func (z *xlMetaV2) UpdateObjectVersion(fi FileInfo) error {
|
|||
return nil
|
||||
}
|
||||
case DeleteType:
|
||||
return errMethodNotAllowed
|
||||
if version.DeleteMarker.VersionID == uv {
|
||||
return errMethodNotAllowed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue