integration: rework retry for waiting for node sync
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
9d236571f4
commit
3b16b75fe6
7 changed files with 127 additions and 62 deletions
|
|
@ -1418,11 +1418,6 @@ func (s *State) HandleNodeFromPreAuthKey(
|
|||
return savedNode.View(), c, nil
|
||||
}
|
||||
|
||||
// AllocateNextIPs allocates the next available IPv4 and IPv6 addresses.
|
||||
func (s *State) AllocateNextIPs() (*netip.Addr, *netip.Addr, error) {
|
||||
return s.ipAlloc.Next()
|
||||
}
|
||||
|
||||
// updatePolicyManagerUsers updates the policy manager with current users.
|
||||
// Returns true if the policy changed and notifications should be sent.
|
||||
// TODO(kradalby): This is a temporary stepping stone, ultimately we should
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue