Point agent 401 recovery copy at the Pulse UI, not a wrong breadcrumb

Refs #1515

The install command is generated under the Settings infrastructure
installer, not a "Settings > Agents" tab. Correct the agent log, installer
warning, and Machines tooltip to say "the Pulse UI" so the recovery step is
accurate.
This commit is contained in:
rcourtman 2026-07-08 08:40:29 +01:00
parent c7dcd90b83
commit a54e67cb0f
3 changed files with 3 additions and 3 deletions

View file

@ -622,7 +622,7 @@ func (a *Agent) logAuthFailure(statusErr *reportHTTPStatusError) {
Str("endpoint", endpoint).
Int("status_code", statusCode).
Str("pulse_url", a.trimmedPulseURL).
Msg("Pulse rejected this agent's API token (401 Unauthorized). The token is no longer valid on the server, which usually means Pulse was restored/reinstalled or upgraded (for example v5 -> v6) without carrying the token across. Re-run the agent install command from the Pulse UI (Settings > Agents) to mint a fresh token. Reports are dropped until the token is replaced.")
Msg("Pulse rejected this agent's API token (401 Unauthorized). The token is no longer valid on the server, which usually means Pulse was restored/reinstalled or upgraded (for example v5 -> v6) without carrying the token across. Re-run the agent install command from the Pulse UI to mint a fresh token. Reports are dropped until the token is replaced.")
}
func (a *Agent) flushBuffer(ctx context.Context) {