mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-01 07:55:43 +02:00
Fix stop/restart args stacking
Signed-off-by: Tanel Liiv <tanel.liiv@reconeyez.com> Signed-off-by: Tanel Liiv <liivtanel@gmail.com>
This commit is contained in:
parent
60137eb7f9
commit
2cdfb3e6d4
@ -2518,10 +2518,10 @@ async def transfer_service_status(compose, args, action):
|
|||||||
targets.extend(container_names_by_service[service])
|
targets.extend(container_names_by_service[service])
|
||||||
if action in ["stop", "restart"]:
|
if action in ["stop", "restart"]:
|
||||||
targets = list(reversed(targets))
|
targets = list(reversed(targets))
|
||||||
podman_args = []
|
|
||||||
timeout_global = getattr(args, "timeout", None)
|
timeout_global = getattr(args, "timeout", None)
|
||||||
tasks = []
|
tasks = []
|
||||||
for target in targets:
|
for target in targets:
|
||||||
|
podman_args = []
|
||||||
if action != "start":
|
if action != "start":
|
||||||
timeout = timeout_global
|
timeout = timeout_global
|
||||||
if timeout is None:
|
if timeout is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user