replication: proxy only on missing object or read quorum err (#20101)

This commit is contained in:
Poorna
2024-07-16 16:46:41 -07:00
committed by GitHub
parent 95f076340a
commit 3535197f99
2 changed files with 3 additions and 9 deletions

View File

@@ -751,12 +751,6 @@ func isErrSignatureDoesNotMatch(err error) bool {
return errors.As(err, &signatureDoesNotMatch)
}
// isErrObjectNameInvalid - Check if error type is ObjectNameInvalid.
func isErrObjectNameInvalid(err error) bool {
var invalidObject ObjectNameInvalid
return errors.As(err, &invalidObject)
}
// PreConditionFailed - Check if copy precondition failed
type PreConditionFailed struct{}