mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-08 21:24:50 -05:00
fixed lint errors
This commit is contained in:
1
api.go
1
api.go
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user