diff --git a/integration_general_test.go b/integration_general_test.go index 5bfebe1..7185c60 100644 --- a/integration_general_test.go +++ b/integration_general_test.go @@ -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,