mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-07 14:39:53 +01:00
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:
parent
0ee7c2630a
commit
5c4aa40032
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user