1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

fixed linting recommendation

This commit is contained in:
Mevan Samaratunga 2022-03-10 10:40:20 -05:00
parent af081e9fd3
commit 082a852c5e

1
api.go
View File

@ -601,7 +601,6 @@ func (h *Headscale) handleAuthKey(
machine.AuthKeyID = uint(pak.ID)
h.RefreshMachine(machine, registerRequest.Expiry)
} else {
now := time.Now().UTC()
machineToRegister := Machine{
Name: registerRequest.Hostinfo.Hostname,