Skip to content

Commit 4836e11

Browse files
committed
The first letter should be small in error of token.go
Signed-off-by: yupeng <[email protected]>
1 parent 32c2948 commit 4836e11

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)