mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-14 15:58:42 +02:00
Fix handling of --in-pod argument
Currently --in-pod handling is broken because the only way to set False is by providing empty argument like "--in-pod=". As of Python 3.7 the solution is to accept string and parse manually. Co-authored-by: Randolph Sapp <res.sapp@gmail.com> Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
@ -127,7 +127,7 @@ def set_args(podman_compose: PodmanCompose, file_names: list[str]) -> None:
|
||||
podman_compose.global_args.project_name = None
|
||||
podman_compose.global_args.env_file = None
|
||||
podman_compose.global_args.profile = []
|
||||
podman_compose.global_args.in_pod = True
|
||||
podman_compose.global_args.in_pod_bool = True
|
||||
podman_compose.global_args.no_normalize = True
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user