fixed lint errors

This commit is contained in:
Mevan Samaratunga 2022-03-10 10:22:21 -05:00
parent 8b5e8b7dfc
commit af081e9fd3

1
api.go
View File

@ -600,7 +600,6 @@ func (h *Headscale) handleAuthKey(
machine.NodeKey = nodeKey machine.NodeKey = nodeKey
machine.AuthKeyID = uint(pak.ID) machine.AuthKeyID = uint(pak.ID)
h.RefreshMachine(machine, registerRequest.Expiry) h.RefreshMachine(machine, registerRequest.Expiry)
} else { } else {
now := time.Now().UTC() now := time.Now().UTC()