mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
remove repeated code
This commit is contained in:
parent
61892abc94
commit
58cebf9bbc
1 changed files with 0 additions and 3 deletions
|
|
@ -196,9 +196,6 @@ func (config AuthenticatorConfig) New() (authenticator.Request, *spec.SecurityDe
|
|||
if config.Anonymous {
|
||||
return anonymous.NewAuthenticator(), &securityDefinitions, nil
|
||||
}
|
||||
}
|
||||
|
||||
if len(authenticators) == 0 {
|
||||
return nil, &securityDefinitions, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue