Skip to content

Commit 2cdfb3e

Browse files
Tanel Liivp12tic
authored andcommitted
Fix stop/restart args stacking
Signed-off-by: Tanel Liiv <tanel.liiv@reconeyez.com> Signed-off-by: Tanel Liiv <liivtanel@gmail.com>
1 parent 60137eb commit 2cdfb3e

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)