Fix error declaration

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-10-03 16:02:34 +02:00
parent 37a4d41d0e
commit a0ec3690b6
No known key found for this signature in database

View file

@ -191,7 +191,7 @@ func (s *IntegrationTestSuite) tailscaleContainer(
},
}
err = s.pool.RemoveContainerByName(hostname)
err := s.pool.RemoveContainerByName(hostname)
if err != nil {
s.FailNow(
fmt.Sprintf(
@ -202,7 +202,7 @@ func (s *IntegrationTestSuite) tailscaleContainer(
)
}
pts, err := s.pool.BuildAndRunWithBuildOptions(
pts, err = s.pool.BuildAndRunWithBuildOptions(
tailscaleBuildOptions,
tailscaleOptions,
DockerRestartPolicy,