Skip to content

Commit b3bd6e6

Browse files
author
Andrei Neagu
committed
typos and notes
1 parent cce8765 commit b3bd6e6

File tree

2 files changed

+3
-2
lines changed
  • packages/service-library/src/servicelib/fastapi
  • services/docker-api-proxy/tests/integration

2 files changed

+3
-2
lines changed

packages/service-library/src/servicelib/fastapi/docker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 _

services/docker-api-proxy/tests/integration/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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
1818
from settings_library.application import BaseApplicationSettings
1919
from 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
)

0 commit comments

Comments
 (0)