From 528dcbe02b3b3fc2ad6b930ab8088a2ec70b6d2a Mon Sep 17 00:00:00 2001 From: lvjiangzhao Date: Mon, 21 Nov 2016 17:28:01 +0800 Subject: [PATCH] Fix wrong comment in authn.go --- pkg/apiserver/authenticator/authn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiserver/authenticator/authn.go b/pkg/apiserver/authenticator/authn.go index acc8e6f2db1..5719774ede2 100644 --- a/pkg/apiserver/authenticator/authn.go +++ b/pkg/apiserver/authenticator/authn.go @@ -283,7 +283,7 @@ func newAuthenticatorFromClientCAFile(clientCAFile string) (authenticator.Reques return x509.New(opts, x509.CommonNameUserConversion), nil } -// newAuthenticatorFromTokenFile returns an authenticator.Request or an error +// newAuthenticatorFromKeystoneURL returns an authenticator.Request or an error func newAuthenticatorFromKeystoneURL(keystoneURL string, keystoneCAFile string) (authenticator.Request, error) { keystoneAuthenticator, err := keystone.NewKeystoneAuthenticator(keystoneURL, keystoneCAFile) if err != nil {