mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 07:53:16 +01:00
run formatter
Signed-off-by: Robin Syl <robin@robinsyl.dev>
This commit is contained in:
parent
efccf15a55
commit
f512566759
4
podman_compose.py
Executable file → Normal file
4
podman_compose.py
Executable file → Normal file
@ -1020,9 +1020,7 @@ async def container_to_args(compose, cnt, detached=True):
|
||||
# If it's a string, it's equivalent to specifying CMD-SHELL
|
||||
if is_str(healthcheck_test):
|
||||
# podman does not add shell to handle command with whitespace
|
||||
podman_args.extend(
|
||||
["--health-cmd", "/bin/sh -c " + cmd_quote(healthcheck_test)]
|
||||
)
|
||||
podman_args.extend(["--health-cmd", "/bin/sh -c " + cmd_quote(healthcheck_test)])
|
||||
elif is_list(healthcheck_test):
|
||||
healthcheck_test = healthcheck_test.copy()
|
||||
# If it's a list, first item is either NONE, CMD or CMD-SHELL.
|
||||
|
Loading…
Reference in New Issue
Block a user