mirror of https://github.com/kubernetes/kops.git
fix bootstrap already exists handling
This commit is contained in:
parent
1dc08db36a
commit
7cbf50d754
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue