mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-10 03:03:54 +02:00
A big bunch of golang-lint fixes
This commit is contained in:
@@ -53,7 +53,15 @@ func (h *Headscale) handlePollCommon(
|
||||
}
|
||||
|
||||
// update routes with peer information
|
||||
h.EnableAutoApprovedRoutes(machine)
|
||||
err = h.EnableAutoApprovedRoutes(machine)
|
||||
if err != nil {
|
||||
log.Error().
|
||||
Caller().
|
||||
Bool("noise", isNoise).
|
||||
Str("machine", machine.Hostname).
|
||||
Err(err).
|
||||
Msg("Error running auto approved routes")
|
||||
}
|
||||
}
|
||||
|
||||
// From Tailscale client:
|
||||
|
||||
Reference in New Issue
Block a user