Skip to content

Commit

Permalink
Merge pull request #696 from dkull/devel
Browse files Browse the repository at this point in the history
Fix stop/restart args stacking
  • Loading branch information
p12tic authored Mar 9, 2024
2 parents 60137eb + 2cdfb3e commit e0fc9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0fc9a7

Please sign in to comment.