From ce1059973a4a46acc272a8c0fea521c96e628ba7 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Thu, 11 Feb 2016 21:11:51 -0500 Subject: [PATCH] Change integration test to use variable Followup to #20246, changes the test to use already declared variable Signed-off-by: Christopher Jones --- integration-cli/docker_cli_network_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go index 5507603cfb..84a235132b 100644 --- a/integration-cli/docker_cli_network_unix_test.go +++ b/integration-cli/docker_cli_network_unix_test.go @@ -1014,7 +1014,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkHostModeUngracefulDaemonRestart(c c.Assert(err, checker.IsNil, check.Commentf(out)) // verfiy container has finished starting before killing daemon - err = s.d.waitRun(fmt.Sprintf("hostc-%d", i)) + err = s.d.waitRun(cName) c.Assert(err, checker.IsNil) }