File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/service-library/src/servicelib/fastapi
services/docker-api-proxy/tests/integration Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ async def _(app: FastAPI) -> AsyncIterator[State]:
6565
6666 await wait_till_docker_api_proxy_is_responsive (app )
6767
68+ # NOTE this has to be inside exit_stack scope
6869 yield {}
6970
7071 return _
Original file line number Diff line number Diff line change 1414 get_lifespan_remote_docker_client ,
1515 get_remote_docker_client ,
1616)
17- from servicelib .fastapi .lifespan_utils import combine_lfiespan_context_managers
17+ from servicelib .fastapi .lifespan_utils import combine_lifespans
1818from settings_library .application import BaseApplicationSettings
1919from settings_library .docker_api_proxy import DockerApiProxysettings
2020
@@ -40,7 +40,7 @@ class ApplicationSetting(BaseApplicationSettings):
4040 ]
4141
4242 app = FastAPI (
43- lifespan = combine_lfiespan_context_managers (
43+ lifespan = combine_lifespans (
4444 get_lifespan_remote_docker_client ("DOCKER_API_PROXY" )
4545 )
4646 )
You can’t perform that action at this time.
0 commit comments