From 6239a567a8ee6a3b088f372473f65263f4810d7c Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 19 Aug 2021 10:57:00 -0700 Subject: [PATCH] remove one nolint:unparam comment --- internal/upstreamoidc/upstreamoidc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/upstreamoidc/upstreamoidc_test.go b/internal/upstreamoidc/upstreamoidc_test.go index abba4417..801207bf 100644 --- a/internal/upstreamoidc/upstreamoidc_test.go +++ b/internal/upstreamoidc/upstreamoidc_test.go @@ -579,7 +579,7 @@ func (m *mockProvider) UserInfo(_ context.Context, tokenSource oauth2.TokenSourc return m.userInfo, m.userInfoErr } -func forceUserInfoWithClaims(subject string, claims string) *oidc.UserInfo { //nolint:unparam +func forceUserInfoWithClaims(subject string, claims string) *oidc.UserInfo { userInfo := &oidc.UserInfo{Subject: subject} // this is some dark magic to set a private field