diff options
author | Hunor Csomortáni <csomh@redhat.com> | 2019-07-04 14:24:09 +0200 |
---|---|---|
committer | Hunor Csomortáni <csomh@redhat.com> | 2019-07-16 06:15:28 +0200 |
commit | 3e53bfe36e385f6d85b10d1eadab0a249f580f97 (patch) | |
tree | 290cb9b711e1a4e72556f25adc277bc13f1555c7 /test/e2e/common_test.go | |
parent | 51c00eae8b22356e72c84601e8c4f88b739755c7 (diff) | |
download | podman-3e53bfe36e385f6d85b10d1eadab0a249f580f97.tar.gz podman-3e53bfe36e385f6d85b10d1eadab0a249f580f97.tar.bz2 podman-3e53bfe36e385f6d85b10d1eadab0a249f580f97.zip |
Make the healthcheck flags compatible with Docker CLI
Docker CLI calls the healthcheck flags "--health-*", instead of
"--healthcheck-*".
Introduce the former, in order to keep compatibility, and alias
the later, in order to avoid breaking current usage.
Change "--healthcheck-*" to "--health-*" in the docs and tests.
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index b233a772a..abaf2cccf 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -375,7 +375,7 @@ func (p *PodmanTestIntegration) RunNginxWithHealthCheck(name string) (*PodmanSes if name != "" { podmanArgs = append(podmanArgs, "--name", name) } - podmanArgs = append(podmanArgs, "-dt", "-P", "--healthcheck-command", "curl http://localhost/", nginx) + podmanArgs = append(podmanArgs, "-dt", "-P", "--health-cmd", "curl http://localhost/", nginx) session := p.Podman(podmanArgs) session.WaitWithDefaultTimeout() return session, session.OutputToString() |