From e010ecad6a2276bf1ed0c0fc157bbe3c8f0dbe26 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Wed, 23 May 2018 13:44:15 -0700 Subject: [PATCH] integration-cli: fix health test Signed-off-by: Tonis Tiigi Upstream-commit: 1f09adbe163f008e36dffa45c8f4b43605d7426e Component: engine --- components/engine/integration-cli/docker_cli_health_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/integration-cli/docker_cli_health_test.go b/components/engine/integration-cli/docker_cli_health_test.go index 632830c60b..a06b6c8830 100644 --- a/components/engine/integration-cli/docker_cli_health_test.go +++ b/components/engine/integration-cli/docker_cli_health_test.go @@ -90,7 +90,7 @@ func (s *DockerSuite) TestHealth(c *check.C) { buildImageSuccessfully(c, "no_healthcheck", build.WithDockerfile(`FROM testhealth HEALTHCHECK NONE`)) - out, _ = dockerCmd(c, "inspect", "--format={{.ContainerConfig.Healthcheck.Test}}", "no_healthcheck") + out, _ = dockerCmd(c, "inspect", "--format={{.Config.Healthcheck.Test}}", "no_healthcheck") c.Check(out, checker.Equals, "[NONE]\n") // Enable the checks from the CLI