fix linting issues in preauthkey tags
This commit is contained in:
parent
470c49394c
commit
8a8ec7476d
6 changed files with 19 additions and 19 deletions
|
@ -343,7 +343,6 @@ func (h *Headscale) handleAuthKeyCommon(
|
|||
machine.NodeKey = nodeKey
|
||||
machine.AuthKeyID = uint(pak.ID)
|
||||
err := h.RefreshMachine(machine, registerRequest.Expiry)
|
||||
|
||||
if err != nil {
|
||||
log.Error().
|
||||
Caller().
|
||||
|
@ -372,7 +371,6 @@ func (h *Headscale) handleAuthKeyCommon(
|
|||
|
||||
return
|
||||
}
|
||||
|
||||
} else {
|
||||
now := time.Now().UTC()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue