From 016b0e9a8ec3cbab16163c7a3f78e373b6f1eace Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 9 Dec 2020 14:41:27 -0600 Subject: [PATCH] =?UTF-8?q?Satisfy=20the=20pedantic=20linter=20config=20?= =?UTF-8?q?=F0=9F=99=83.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matt Moyer --- internal/oidc/token/token_handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/oidc/token/token_handler_test.go b/internal/oidc/token/token_handler_test.go index 0cf67f66..daab27f7 100644 --- a/internal/oidc/token/token_handler_test.go +++ b/internal/oidc/token/token_handler_test.go @@ -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 }