Skip to content

Commit 66bac70

Browse files
committed
fix: add external auth configs to telemetry
1 parent d0b2f61 commit 66bac70

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cli/server.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
797797

798798
if vals.Telemetry.Enable {
799799
gitAuth := make([]telemetry.GitAuth, 0)
800-
// TODO:
801-
gitAuthConfigs := make([]codersdk.ExternalAuthConfig, 0)
802-
for _, cfg := range gitAuthConfigs {
800+
for _, cfg := range externalAuthConfigs {
803801
gitAuth = append(gitAuth, telemetry.GitAuth{
804802
Type: cfg.Type,
805803
})

0 commit comments

Comments
 (0)