Merge pull request #10346 from jhadvig/comment_fix

Fix NewNotFound method name in comments
pull/6/head
Mike Danese 2015-07-24 08:08:57 -07:00
commit db179e4cf4
1 changed files with 1 additions and 1 deletions

View File

@ -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
}