mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-27 00:36:49 +09:00
fix linting issues in preauthkey tags
This commit is contained in:
1 parent
470c49394c
commit
8a8ec7476d
6 files changed
+19
-19
No files matched your search
@@ -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