Skip to content

Commit b4410df

Browse files
committed
typo
1 parent 332928c commit b4410df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cli/server.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,10 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
525525
}
526526

527527
promRegistry := prometheus.NewRegistry()
528-
oauthIntrument := promoauth.NewFactory(promRegistry)
528+
oauthInstrument := promoauth.NewFactory(promRegistry)
529529
vals.ExternalAuthConfigs.Value = append(vals.ExternalAuthConfigs.Value, extAuthEnv...)
530530
externalAuthConfigs, err := externalauth.ConvertConfig(
531-
oauthIntrument,
531+
oauthInstrument,
532532
vals.ExternalAuthConfigs.Value,
533533
vals.AccessURL.Value(),
534534
)
@@ -622,7 +622,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
622622

623623
if vals.OAuth2.Github.ClientSecret != "" {
624624
options.GithubOAuth2Config, err = configureGithubOAuth2(
625-
oauthIntrument,
625+
oauthInstrument,
626626
vals.AccessURL.Value(),
627627
vals.OAuth2.Github.ClientID.String(),
628628
vals.OAuth2.Github.ClientSecret.String(),
@@ -642,7 +642,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
642642
logger.Warn(ctx, "coder will not check email_verified for OIDC logins")
643643
}
644644

645-
oc, err := createOIDCConfig(ctx, oauthIntrument, vals)
645+
oc, err := createOIDCConfig(ctx, oauthInstrument, vals)
646646
if err != nil {
647647
return xerrors.Errorf("create oidc config: %w", err)
648648
}

0 commit comments

Comments
 (0)