Correctly use the internal docker dns and port for headscale joining

This commit is contained in:
Kristoffer Dalby 2021-10-04 14:39:52 +00:00
parent 07e32be5ce
commit d3ef39a58f
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ func (s *IntegrationTestSuite) SetupSuite() {
)
assert.Nil(s.T(), err)
headscaleEndpoint := fmt.Sprintf("http://headscale:%s", headscale.GetPort("8080/tcp"))
headscaleEndpoint := "http://headscale:8080"
fmt.Printf("Joining tailscale containers to headscale at %s\n", headscaleEndpoint)
for hostname, tailscale := range scales.tailscales {