diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 87d186d92..e90e63c4c 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -41,8 +41,16 @@ func (u NodeID) IsZero() bool { type GroupID ID +func (u GroupID) IsZero() bool { + return u == 0 +} + type RoleID ID +func (u RoleID) IsZero() bool { + return u == 0 +} + type CapabilityID ID // MachineKey is the curve25519 public key for a machine.