mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-12 00:52:00 +00:00
health: prefix Warnables received from the control plane
Updates tailscale/corp#27759 Signed-off-by: James Sanderson <jsanderson@tailscale.com>
This commit is contained in:
committed by
James 'zofrex' Sanderson
parent
7b06532ea1
commit
5716d0977d
@@ -112,7 +112,7 @@ func (t *Tracker) CurrentState() *State {
|
||||
|
||||
for id, msg := range t.lastNotifiedControlMessages {
|
||||
state := UnhealthyState{
|
||||
WarnableCode: WarnableCode(id),
|
||||
WarnableCode: WarnableCode("control-health." + id),
|
||||
Severity: severityFromTailcfg(msg.Severity),
|
||||
Title: msg.Title,
|
||||
Text: msg.Text,
|
||||
|
||||
Reference in New Issue
Block a user