mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-21 18:42:36 +00:00
control/controlclient,tailcfg: propagate registration errors to the frontend
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
@@ -679,6 +679,10 @@ type RegisterResponse struct {
|
||||
NodeKeyExpired bool // if true, the NodeKey needs to be replaced
|
||||
MachineAuthorized bool // TODO(crawshaw): move to using MachineStatus
|
||||
AuthURL string // if set, authorization pending
|
||||
|
||||
// Error indiciates that authorization failed. If this is non-empty,
|
||||
// other status fields should be ignored.
|
||||
Error string
|
||||
}
|
||||
|
||||
// EndpointType distinguishes different sources of MapRequest.Endpoint values.
|
||||
|
Reference in New Issue
Block a user