mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Clean unused error type variable
The function which invoked this variable was removed by https://github.com/kubernetes/kubernetes/pull/58725/
This commit is contained in:
parent
dcc6d78ac0
commit
c1e5b1bf2c
@ -22,7 +22,6 @@ import (
|
||||
"crypto/rsa"
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
@ -140,8 +139,6 @@ type Validator interface {
|
||||
NewPrivateClaims() interface{}
|
||||
}
|
||||
|
||||
var errMismatchedSigningMethod = errors.New("invalid signing method")
|
||||
|
||||
func (j *jwtTokenAuthenticator) AuthenticateToken(tokenData string) (user.Info, bool, error) {
|
||||
if !j.hasCorrectIssuer(tokenData) {
|
||||
return nil, false, nil
|
||||
|
Loading…
Reference in New Issue
Block a user