diff --git a/acls.go b/acls.go index 2fa2e4f..2636836 100644 --- a/acls.go +++ b/acls.go @@ -267,6 +267,7 @@ func expandAlias( alias, ) } + return ips, nil } else { return ips, err diff --git a/machine.go b/machine.go index 44264e9..9fc06a4 100644 --- a/machine.go +++ b/machine.go @@ -361,7 +361,7 @@ func (h *Headscale) UpdateMachine(machine *Machine) error { } // UpdateDBMachine takes a Machine struct pointer (typically already loaded from database -// search for the same machine in the database and update the latter +// search for the same machine in the database and update the latter. func (h *Headscale) UpdateDBMachine(machine Machine) error { destMachine := Machine{} if result := h.db.Where("id = ?", machine.ID).Find(&destMachine); result.Error != nil {