diff --git a/pkg/api/errors/errors.go b/pkg/api/errors/errors.go index 5e7bc0dfdfe..0577b3a4f1e 100644 --- a/pkg/api/errors/errors.go +++ b/pkg/api/errors/errors.go @@ -333,7 +333,7 @@ func NewGenericServerResponse(code int, verb, kind, name, serverMessage string, }} } -// IsNotFound returns true if the specified error was created by NewNotFoundErr. +// IsNotFound returns true if the specified error was created by NewNotFound. func IsNotFound(err error) bool { return reasonForError(err) == api.StatusReasonNotFound }