mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-24 02:31:48 +01:00
IsZero is required by the interface, so we should use that before trying to serialize the key. Updates #35412 (cherry picked from commit ce7e1dea45e1e6a3c8c92556a949ee28632af7f9) Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
parent
5065307fb8
commit
9ae9dfd2d4
@ -26,7 +26,7 @@ type Persist struct {
|
||||
UserProfile tailcfg.UserProfile
|
||||
NetworkLockKey key.NLPrivate
|
||||
NodeID tailcfg.StableNodeID
|
||||
AttestationKey key.HardwareAttestationKey `json:",omitempty"`
|
||||
AttestationKey key.HardwareAttestationKey `json:",omitzero"`
|
||||
|
||||
// DisallowedTKAStateIDs stores the tka.State.StateID values which
|
||||
// this node will not operate network lock on. This is used to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user