Skip to content

Commit e0fc9a7

Browse files
authored
Merge pull request #696 from dkull/devel
Fix stop/restart args stacking
2 parents 60137eb + 2cdfb3e commit e0fc9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

podman_compose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2518,10 +2518,10 @@ async def transfer_service_status(compose, args, action):
25182518
targets.extend(container_names_by_service[service])
25192519
if action in ["stop", "restart"]:
25202520
targets = list(reversed(targets))
2521-
podman_args = []
25222521
timeout_global = getattr(args, "timeout", None)
25232522
tasks = []
25242523
for target in targets:
2524+
podman_args = []
25252525
if action != "start":
25262526
timeout = timeout_global
25272527
if timeout is None:

0 commit comments

Comments
 (0)