diff --git a/pkg/storage/errors.go b/pkg/storage/errors.go index 3ae0a8893c8..7c1fbb507b1 100644 --- a/pkg/storage/errors.go +++ b/pkg/storage/errors.go @@ -110,7 +110,7 @@ func IsTestFailed(err error) bool { return isErrCode(err, ErrCodeResourceVersionConflicts) } -// IsInvalidUID returns true if and only if err is invalid UID error +// IsInvalidObj returns true if and only if err is invalid error func IsInvalidObj(err error) bool { return isErrCode(err, ErrCodeInvalidObj) }