Skip to content

Commit

Permalink
add await for create_pods call
Browse files Browse the repository at this point in the history
fixes log output podman_compose.py:2527: RuntimeWarning: coroutine 'create_pods' was never awaited

Signed-off-by: Johannes Kasberger <[email protected]>
  • Loading branch information
schugabe committed May 6, 2024
1 parent 0ee7c26 commit 5c4aa40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 5c4aa40

Please sign in to comment.