Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Syl <[email protected]>
  • Loading branch information
recursiveribbons committed Mar 11, 2024
1 parent efccf15 commit f512566
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions podman_compose.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f512566

Please sign in to comment.