mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-02 03:33:05 +00:00
Fail correctly if container exist
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
f3dbfc9045
commit
88931001fd
1 changed files with 7 additions and 1 deletions
|
@ -412,7 +412,13 @@ func (s *IntegrationOIDCTestSuite) tailscaleContainer(
|
||||||
DockerAllowNetworkAdministration,
|
DockerAllowNetworkAdministration,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Could not start tailscale container version %s: %s", version, err)
|
s.FailNow(
|
||||||
|
fmt.Sprintf(
|
||||||
|
"Could not start tailscale container version %s: %s",
|
||||||
|
version,
|
||||||
|
err,
|
||||||
|
),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
log.Printf("Created %s container\n", hostname)
|
log.Printf("Created %s container\n", hostname)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue