We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1d045 commit 03818a6Copy full SHA for 03818a6
services/director-v2/src/simcore_service_director_v2/cli/_core.py
@@ -36,13 +36,16 @@
36
async def _initialized_app(only_db: bool = False) -> AsyncIterator[FastAPI]:
37
app = create_base_app()
38
settings: AppSettings = app.state.settings
39
-
40
# Initialize minimal required components for the application
41
db.setup(app, settings.POSTGRES)
42
43
if not only_db:
44
dynamic_sidecar.setup(app)
45
- director_v0.setup(app, settings)
+ director_v0.setup(
+ app,
46
+ director_v0_settings=settings.DIRECTOR_V0,
47
+ tracing_settings=settings.DIRECTOR_V2_TRACING,
48
+ )
49
50
await app.router.startup()
51
yield app
0 commit comments