Satisfy the pedantic linter config 🙃.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-12-09 14:41:27 -06:00
parent 02d96d731f
commit 016b0e9a8e
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -993,7 +993,7 @@ type singleUseJWKProvider struct {
}
func (s *singleUseJWKProvider) GetJWKS(issuerName string) (jwks *jose.JSONWebKeySet, activeJWK *jose.JSONWebKey) {
s.calls += 1
s.calls++
if s.calls > 1 {
return nil, nil
}