Skip to content

Commit 93525f2

Browse files
author
OpenShift Bot
authored
Merge pull request #11386 from YuPengZTE/devFirstLetter
Merged by openshift-bot
2 parents 87ca44f + 4836e11 commit 93525f2

File tree

1 file changed

+1
-1
lines changed
  • pkg/auth/authenticator/token/filetoken

1 file changed

+1
-1
lines changed

pkg/auth/authenticator/token/filetoken/token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewTokenAuthenticator(path string) (*TokenAuthenticator, error) {
5252
func (a *TokenAuthenticator) AuthenticateToken(value string) (user.Info, bool, error) {
5353
user, ok := a.tokens[value]
5454
if !ok {
55-
return nil, false, errors.New("Invalid token")
55+
return nil, false, errors.New("invalid token")
5656
}
5757
return user, true, nil
5858
}

0 commit comments

Comments
 (0)