Skip to content

Commit e7ae167

Browse files
committed
remove call to private method
1 parent 10689e9 commit e7ae167

File tree

1 file changed

+1
-5
lines changed
  • services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/core

1 file changed

+1
-5
lines changed

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/core/application.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
)
55
from servicelib.fastapi.openapi import override_fastapi_openapi_method
66
from servicelib.fastapi.profiler import initialize_profiler
7-
from servicelib.fastapi.tracing import _startup
87

9-
from .._meta import API_VERSION, API_VTAG, APP_NAME, PROJECT_NAME, SUMMARY
8+
from .._meta import API_VERSION, API_VTAG, PROJECT_NAME, SUMMARY
109
from ..api.frontend import initialize_frontend
1110
from ..api.rest.routes import initialize_rest_api
1211
from . import events
@@ -33,9 +32,6 @@ def create_app(settings: ApplicationSettings | None = None) -> FastAPI:
3332
app.state.settings = app_settings
3433
assert app.state.settings.API_VERSION == API_VERSION # nosec
3534

36-
if app_settings.DYNAMIC_SCHEDULER_TRACING:
37-
_startup(app, app_settings.DYNAMIC_SCHEDULER_TRACING, APP_NAME)
38-
3935
initialize_rest_api(app)
4036

4137
if app_settings.DYNAMIC_SCHEDULER_PROMETHEUS_INSTRUMENTATION_ENABLED:

0 commit comments

Comments
 (0)