Merge b348117a80
into 036c0dcd18
This commit is contained in:
commit
f6e98a2617
|
@ -0,0 +1 @@
|
|||
Fixes the issue with compose logs for multiple targets when any container is missing
|
|
@ -3605,9 +3605,10 @@ async def compose_logs(compose: PodmanCompose, args: argparse.Namespace) -> None
|
|||
podman_args.append("-t")
|
||||
if args.until:
|
||||
podman_args.extend(["--until", args.until])
|
||||
# podman logs supports multiple targets,
|
||||
# but will fail completely if any container is missing
|
||||
for target in targets:
|
||||
podman_args.append(target)
|
||||
await compose.podman.run([], "logs", podman_args)
|
||||
await compose.podman.run([], "logs", [*podman_args, target])
|
||||
|
||||
|
||||
@cmd_run(podman_compose, "config", "displays the compose file")
|
||||
|
|
Loading…
Reference in New Issue