diff --git a/machine.go b/machine.go index 3c0ea77f..44264e92 100644 --- a/machine.go +++ b/machine.go @@ -661,7 +661,7 @@ func (machine *Machine) toProto() *v1.Machine { return machineProto } -// getTags will return the tags of the current machine +// getTags will return the tags of the current machine. func getTags( aclPolicy ACLPolicy, machine Machine, @@ -693,7 +693,7 @@ func getTags( validTags = append(validTags, tag) } - return + return validTags, invalidTags } func (h *Headscale) RegisterMachineFromAuthCallback(