Skip to content

Commit 5d4d8fe

Browse files
committed
fix jfrog
1 parent 5bfa357 commit 5d4d8fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

coderd/externalauth/externalauth.go

+5
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,11 @@ func configDefaults(config *codersdk.ExternalAuthConfig) {
506506
case codersdk.EnhancedExternalAuthProviderBitBucketServer:
507507
applyDefaultsToConfig(config, bitbucketServerDefaults(config))
508508
return
509+
default:
510+
// No defaults for this type. We still want to run this apply with
511+
// an empty set of defaults.
512+
applyDefaultsToConfig(config, codersdk.ExternalAuthConfig{})
513+
return
509514
}
510515
}
511516

0 commit comments

Comments
 (0)