|
|
@@ -21,6 +21,7 @@ import (
|
|
|
"time"
|
|
|
|
|
|
"tailscale.com/health"
|
|
|
+ "tailscale.com/health/healthmsg"
|
|
|
"tailscale.com/ipn"
|
|
|
"tailscale.com/ipn/ipnstate"
|
|
|
"tailscale.com/net/tsaddr"
|
|
|
@@ -115,7 +116,7 @@ func (b *LocalBackend) tkaFilterNetmapLocked(nm *netmap.NetworkMap) {
|
|
|
|
|
|
// Check that we ourselves are not locked out, report a health issue if so.
|
|
|
if nm.SelfNode != nil && b.tka.authority.NodeKeyAuthorized(nm.SelfNode.Key, nm.SelfNode.KeySignature) != nil {
|
|
|
- health.SetTKAHealth(errors.New("this node is locked out; it will not have connectivity until it is signed. For more info, see https://tailscale.com/s/locked-out"))
|
|
|
+ health.SetTKAHealth(errors.New(healthmsg.LockedOut))
|
|
|
} else {
|
|
|
health.SetTKAHealth(nil)
|
|
|
}
|