Update integration/auth_web_flow_test.go

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
This commit is contained in:
Juan Font 2022-11-04 16:11:10 +01:00 committed by GitHub
parent 7ce3f8c7d1
commit d3e9703fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ func (s *AuthWebFlowScenario) CreateHeadscaleEnv(namespaces map[string]int) erro
func (s *AuthWebFlowScenario) runTailscaleUp( func (s *AuthWebFlowScenario) runTailscaleUp(
namespaceStr, loginServer string, namespaceStr, loginServer string,
) error { ) error {
log.Printf("running tailscale up's for namespace %s", namespaceStr) log.Printf("running tailscale up for namespace %s", namespaceStr)
if namespace, ok := s.namespaces[namespaceStr]; ok { if namespace, ok := s.namespaces[namespaceStr]; ok {
for _, client := range namespace.Clients { for _, client := range namespace.Clients {
namespace.joinWaitGroup.Add(1) namespace.joinWaitGroup.Add(1)