Add test for autoApprovers feature

This commit is contained in:
Benjamin George Roberts 2022-08-24 22:09:06 +10:00
parent 7653ad40d6
commit 60cc9ddb3b
4 changed files with 83 additions and 25 deletions

View file

@ -44,10 +44,7 @@ func (h *Headscale) handlePollCommon(
}
// update routes with peer information
err = h.EnableAutoApprovedRoutes(machine)
if err != nil {
//TODO
}
h.EnableAutoApprovedRoutes(machine)
}
// From Tailscale client: