From 082a852c5e946fe7e58f0a94a332372d923fa7b5 Mon Sep 17 00:00:00 2001 From: Mevan Samaratunga Date: Thu, 10 Mar 2022 10:40:20 -0500 Subject: [PATCH] fixed linting recommendation --- api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/api.go b/api.go index ffa1aeb8..eab8076e 100644 --- a/api.go +++ b/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,