From d5a705b60036b1a914486bf700546e26e75e9e9d Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Tue, 8 Sep 2015 23:00:25 +0200 Subject: [PATCH] integration-cli: add missing err check in TestRunNetworkNotInitializedNoneMode Signed-off-by: Antonio Murdaca --- integration-cli/docker_cli_run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go index 81170bfd44..cbc08b6834 100644 --- a/integration-cli/docker_cli_run_test.go +++ b/integration-cli/docker_cli_run_test.go @@ -3100,7 +3100,7 @@ func (s *DockerSuite) TestRunModeNetContainerHostname(c *check.C) { func (s *DockerSuite) TestRunNetworkNotInitializedNoneMode(c *check.C) { testRequires(c, DaemonIsLinux) - out, _, err := dockerCmdWithError("run", "-d", "--net=none", "busybox", "top") + out, _ := dockerCmd(c, "run", "-d", "--net=none", "busybox", "top") id := strings.TrimSpace(out) res, err := inspectField(id, "NetworkSettings.IPAddress") c.Assert(err, check.IsNil)