mirror of https://github.com/k3s-io/k3s
Rename a function parameter name in authn.go
parent
9a1b2540b0
commit
00be597618
|
@ -179,8 +179,8 @@ func newAuthenticatorFromClientCAFile(clientCAFile string) (authenticator.Reques
|
|||
}
|
||||
|
||||
// newAuthenticatorFromTokenFile returns an authenticator.Request or an error
|
||||
func newAuthenticatorFromKeystoneURL(keystoneConfigFile string) (authenticator.Request, error) {
|
||||
keystoneAuthenticator, err := keystone.NewKeystoneAuthenticator(keystoneConfigFile)
|
||||
func newAuthenticatorFromKeystoneURL(keystoneURL string) (authenticator.Request, error) {
|
||||
keystoneAuthenticator, err := keystone.NewKeystoneAuthenticator(keystoneURL)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue