mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 16:03:16 +01:00
Merge pull request #696 from dkull/devel
Fix stop/restart args stacking
This commit is contained in:
commit
e0fc9a7546
@ -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…
Reference in New Issue
Block a user