Fixed accidental deletion of project functionality.

This commit is contained in:
Daniel Roythorne 2022-04-08 11:58:18 +01:00 committed by Muayyad Alsadi
parent 86ffad86c7
commit eed38ce76c

View File

@ -914,7 +914,9 @@ def container_to_args(compose, cnt, detached=True):
if is_str(entrypoint):
entrypoint = shlex.split(entrypoint)
podman_args.extend(["--entrypoint", json.dumps(entrypoint)])
platform = cnt.get("platform", None)
if platform is not None:
podman_args.extend(["--platform", platform])
# WIP: healthchecks are still work in progress
healthcheck = cnt.get("healthcheck", None) or {}
if not is_dict(healthcheck):