mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
fix: return proper errors Get/HeadObject for deleteMarkers (#9957)
This commit is contained in:
@@ -756,7 +756,7 @@ next:
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil && !isErrObjectNotFound(err) {
|
||||
if err != nil && !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
|
||||
// Ignore object not found error.
|
||||
return toJSONError(ctx, err, args.BucketName, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user