mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
fixed linting recommendation
This commit is contained in:
parent
af081e9fd3
commit
082a852c5e
1 changed files with 0 additions and 1 deletions
1
api.go
1
api.go
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue