From 5c4aa40032d99210f992e74cd8a577d37cec2e3a Mon Sep 17 00:00:00 2001 From: Johannes Date: Mon, 6 May 2024 10:54:55 +0200 Subject: [PATCH] add await for create_pods call fixes log output podman_compose.py:2527: RuntimeWarning: coroutine 'create_pods' was never awaited Signed-off-by: Johannes Kasberger --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 8366f0ec..61709d3b 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -2543,7 +2543,7 @@ async def compose_ps(compose, args): "create a container similar to a service to run a one-off command", ) async def compose_run(compose, args): - create_pods(compose, args) + await create_pods(compose, args) compose.assert_services(args.service) container_names = compose.container_names_by_service[args.service] container_name = container_names[0]