Satisfy the pedantic linter config 🙃.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
02d96d731f
commit
016b0e9a8e
@ -993,7 +993,7 @@ type singleUseJWKProvider struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *singleUseJWKProvider) GetJWKS(issuerName string) (jwks *jose.JSONWebKeySet, activeJWK *jose.JSONWebKey) {
|
func (s *singleUseJWKProvider) GetJWKS(issuerName string) (jwks *jose.JSONWebKeySet, activeJWK *jose.JSONWebKey) {
|
||||||
s.calls += 1
|
s.calls++
|
||||||
if s.calls > 1 {
|
if s.calls > 1 {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user