Commit 7df1d332 authored by jhadvig's avatar jhadvig Committed by jhadvig

Fix NewNotFound method name in comments

parent 7855d99b
...@@ -323,7 +323,7 @@ func NewGenericServerResponse(code int, verb, kind, name, serverMessage string, ...@@ -323,7 +323,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 { func IsNotFound(err error) bool {
return reasonForError(err) == api.StatusReasonNotFound return reasonForError(err) == api.StatusReasonNotFound
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment