mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 07:53: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])
|
||||
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