mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-22 07:57:34 +00:00
Move TS WaitForReady outside up goroutine
This commit is contained in:
parent
751cc173d4
commit
f90a3c196c
@ -134,12 +134,12 @@ func (s *AuthWebFlowScenario) runTailscaleUp(
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("failed to register client: %s", err)
|
log.Printf("failed to register client: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = c.WaitForReady()
|
|
||||||
if err != nil {
|
|
||||||
log.Printf("error waiting for client %s to be ready: %s", c.Hostname(), err)
|
|
||||||
}
|
|
||||||
}(client)
|
}(client)
|
||||||
|
|
||||||
|
err := client.WaitForReady()
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("error waiting for client %s to be ready: %s", client.Hostname(), err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
namespace.joinWaitGroup.Wait()
|
namespace.joinWaitGroup.Wait()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user