mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 22:47:39 +00:00
fixed linting recommendation
This commit is contained in:
1
api.go
1
api.go
@@ -601,7 +601,6 @@ func (h *Headscale) handleAuthKey(
|
|||||||
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()
|
||||||
machineToRegister := Machine{
|
machineToRegister := Machine{
|
||||||
Name: registerRequest.Hostinfo.Hostname,
|
Name: registerRequest.Hostinfo.Hostname,
|
||||||
|
Reference in New Issue
Block a user