Skip to content

Commit

Permalink
fix bootstrap already exists handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jauru committed Aug 5, 2024
1 parent 1dc08db commit 7cbf50d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/bootstrap/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ func (v *ChainVerifier) VerifyToken(ctx context.Context, rawRequest *http.Reques
if err == ErrNotThisVerifier {
continue
}
if err == ErrAlreadyExists {
return nil, ErrAlreadyExists
}
klog.Infof("failed to verify token: %v", err)
}
return nil, fmt.Errorf("unable to verify token")
Expand Down

0 comments on commit 7cbf50d

Please sign in to comment.