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 <schugabe@gmx.at>
This commit is contained in:
Johannes 2024-05-06 10:54:55 +02:00 committed by Johannes Kasberger
parent 0ee7c2630a
commit 5c4aa40032

View File

@ -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]