Fix NewNotFound method name in comments

This commit is contained in:
jhadvig 2015-06-25 14:13:16 +02:00 committed by jhadvig
parent 7855d99bfd
commit 7df1d33204

View File

@ -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 {
return reasonForError(err) == api.StatusReasonNotFound
}