Add test for autoApprovers feature
This commit is contained in:
parent
7653ad40d6
commit
60cc9ddb3b
4 changed files with 83 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue