run formatter

Signed-off-by: Robin Syl <robin@robinsyl.dev>
This commit is contained in:
Robin Syl 2024-03-11 23:49:44 +01:00
parent efccf15a55
commit f512566759
No known key found for this signature in database

4
podman_compose.py Executable file → Normal file
View 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.