MCPcopy Index your code
hub / github.com/coder/coder / troubleshootingMessage

Function troubleshootingMessage

cli/cliui/agent.go:369–375  ·  view source on GitHub ↗
(agent codersdk.WorkspaceAgent, url string)

Source from the content-addressed store, hash-verified

367}
368
369func troubleshootingMessage(agent codersdk.WorkspaceAgent, url string) string {
370 m := "For more information and troubleshooting, see " + url
371 if agent.TroubleshootingURL != "" {
372 m += " and " + agent.TroubleshootingURL
373 }
374 return m
375}
376
377// safeDuration returns a-b. If a or b is nil, it returns 0.
378// This is because we often dereference a time pointer, which can

Callers 3

waitForConnectionMethod · 0.85
handleConnectedMethod · 0.85
waitForReconnectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected