chore: upgrade gofumpt to v0.3.1 (#2028)
This commit is contained in:
13 files changed
+34
-17
No files matched your search
@@ -49,7 +49,8 @@ func Callback(
|
||||
iamRepoFn IamRepoFactory,
|
||||
atRepoFn AuthTokenRepoFactory,
|
||||
am *AuthMethod,
|
||||
state, code string) (finalRedirect string, e error) {
|
||||
state, code string,
|
||||
) (finalRedirect string, e error) {
|
||||
const op = "oidc.Callback"
|
||||
if oidcRepoFn == nil {
|
||||
return "", errors.New(ctx, errors.InvalidParameter, op, "missing oidc repository function")
|
||||
|
||||
@@ -46,7 +46,8 @@ func TestAuthMethod(
|
||||
state AuthMethodState,
|
||||
clientId string,
|
||||
clientSecret ClientSecret,
|
||||
opt ...Option) *AuthMethod {
|
||||
opt ...Option,
|
||||
) *AuthMethod {
|
||||
t.Helper()
|
||||
ctx := context.TODO()
|
||||
opts := getOpts(opt...)
|
||||
|
||||
Reference in new issue
Block a user