mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-29 13:28:03 -05:00
fix linting issues in preauthkey tags
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user