Skip to content

Commit 6aa0a6d

Browse files
committed
health
1 parent bb424c2 commit 6aa0a6d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cli/agent.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,9 @@ func workspaceAgent() *cobra.Command {
189189
// shells so "gitssh" works!
190190
"CODER_AGENT_TOKEN": client.SessionToken,
191191
},
192-
CoordinatorDialer: client.ListenWorkspaceAgentTailnet,
193-
StatsReporter: client.AgentReportStats,
194-
FetchWorkspaceApps: client.WorkspaceAgentApps,
195-
PostWorkspaceAppHealth: client.PostWorkspaceAgentAppHealth,
192+
CoordinatorDialer: client.ListenWorkspaceAgentTailnet,
193+
StatsReporter: client.AgentReportStats,
194+
WorkspaceAppHealthReporter: agent.NewWorkspaceAppHealthReporter(logger, client),
196195
})
197196
<-cmd.Context().Done()
198197
return closer.Close()

0 commit comments

Comments
 (0)