mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-03 20:09:51 +01: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])
|
||||
if action in ["stop", "restart"]:
|
||||
targets = list(reversed(targets))
|
||||
podman_args = []
|
||||
timeout_global = getattr(args, "timeout", None)
|
||||
tasks = []
|
||||
for target in targets:
|
||||
podman_args = []
|
||||
if action != "start":
|
||||
timeout = timeout_global
|
||||
if timeout is None:
|
||||
|
Loading…
Reference in New Issue
Block a user