Skip to content

Commit 14b756a

Browse files
Update examples/tokenreview/tokenreview.go
Co-authored-by: Christian Schlotter <[email protected]>
1 parent ac42799 commit 14b756a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tokenreview/tokenreview.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
type authenticator struct {
2929
}
3030

31-
// Handle function authenticator admits a request by the token.
31+
// Handle admits a request by the token.
3232
func (a *authenticator) Handle(ctx context.Context, req authentication.Request) authentication.Response {
3333
if req.Spec.Token == "invalid" {
3434
return authentication.Unauthenticated("invalid is an invalid token", v1.UserInfo{})

0 commit comments

Comments
 (0)