mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-28 12:12:06 +01:00
Fix variable for container name
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//go:build integration
|
||||
s/go:build integration
|
||||
// +build integration
|
||||
|
||||
package headscale
|
||||
@@ -30,6 +30,10 @@ import (
|
||||
"tailscale.com/ipn/ipnstate"
|
||||
)
|
||||
|
||||
const (
|
||||
headscaleContainerName = "headscale"
|
||||
)
|
||||
|
||||
type IntegrationTestSuite struct {
|
||||
suite.Suite
|
||||
stats *suite.SuiteInformation
|
||||
@@ -252,7 +256,7 @@ func (s *IntegrationTestSuite) SetupSuite() {
|
||||
Platform: platform,
|
||||
}
|
||||
|
||||
err = s.pool.RemoveContainerByName(headscaleHostname)
|
||||
err = s.pool.RemoveContainerByName(headscaleContainerName)
|
||||
if err != nil {
|
||||
s.FailNow(fmt.Sprintf("Could not remove existing container before building test: %s", err), "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user