remove one nolint:unparam comment
This commit is contained in:
parent
e4d418a076
commit
6239a567a8
@ -579,7 +579,7 @@ func (m *mockProvider) UserInfo(_ context.Context, tokenSource oauth2.TokenSourc
|
|||||||
return m.userInfo, m.userInfoErr
|
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}
|
userInfo := &oidc.UserInfo{Subject: subject}
|
||||||
|
|
||||||
// this is some dark magic to set a private field
|
// this is some dark magic to set a private field
|
||||||
|
Loading…
Reference in New Issue
Block a user