fix: resync of replication of delete markers (#12932)

Fixes #12919
This commit is contained in:
Poorna Krishnamoorthy
2021-08-23 17:48:22 -04:00
committed by GitHub
parent db35bcf2ce
commit 674c6f7a7b
5 changed files with 27 additions and 3 deletions
+4
View File
@@ -333,6 +333,10 @@ func ErrorRespToObjectError(err error, params ...string) error {
err = PartTooSmall{}
}
switch minioErr.StatusCode {
case http.StatusMethodNotAllowed:
err = toObjectErr(errMethodNotAllowed, bucket, object)
}
return err
}