Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
| ... | ... |
@@ -90,7 +90,7 @@ func (s *DockerSuite) TestHealth(c *check.C) {
|
| 90 | 90 |
buildImageSuccessfully(c, "no_healthcheck", build.WithDockerfile(`FROM testhealth |
| 91 | 91 |
HEALTHCHECK NONE`)) |
| 92 | 92 |
|
| 93 |
- out, _ = dockerCmd(c, "inspect", "--format={{.ContainerConfig.Healthcheck.Test}}", "no_healthcheck")
|
|
| 93 |
+ out, _ = dockerCmd(c, "inspect", "--format={{.Config.Healthcheck.Test}}", "no_healthcheck")
|
|
| 94 | 94 |
c.Check(out, checker.Equals, "[NONE]\n") |
| 95 | 95 |
|
| 96 | 96 |
// Enable the checks from the CLI |