Revert "Allow webhook authenticator to use TokenReviewsInterface"

This reverts commit e9914f2c4a.
This commit is contained in:
Joe Finney
2016-09-13 11:48:43 -07:00
parent 0d3799b8e2
commit 0a02c8275d
4 changed files with 81 additions and 272 deletions

View File

@@ -410,11 +410,6 @@ func IsServerTimeout(err error) bool {
return reasonForError(err) == unversioned.StatusReasonServerTimeout
}
// IsInternalError determines if err is an error which indicates an internal server error.
func IsInternalError(err error) bool {
return reasonForError(err) == unversioned.StatusReasonInternalError
}
// IsUnexpectedServerError returns true if the server response was not in the expected API format,
// and may be the result of another HTTP actor.
func IsUnexpectedServerError(err error) bool {