mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-23 17:09:23 +02:00
#23: fix typo
This commit is contained in:
parent
e21932e1de
commit
aabaefbaa6
@ -503,7 +503,7 @@ def container_to_args(cnt, dirname, podman_path, shared_vols):
|
|||||||
elif healthcheck_type == 'CMD-SHELL':
|
elif healthcheck_type == 'CMD-SHELL':
|
||||||
if len(healthcheck_test)!=1:
|
if len(healthcheck_test)!=1:
|
||||||
raise ValueError("'CMD_SHELL' takes a single string after it")
|
raise ValueError("'CMD_SHELL' takes a single string after it")
|
||||||
args.extend(['--healthcheck-command', '/bin/sh -c {}'.format(cmd_quote(healthcheck_test[0])]))
|
args.extend(['--healthcheck-command', '/bin/sh -c {}'.format(cmd_quote(healthcheck_test[0]))])
|
||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"unknown healthcheck test type [{}],\
|
"unknown healthcheck test type [{}],\
|
||||||
|
Loading…
Reference in New Issue
Block a user