Skip to content

Commit ad83f22

Browse files
committed
rm constant
1 parent 09bb142 commit ad83f22

File tree

1 file changed

+0
-5
lines changed
  • services/web/server/src/simcore_service_webserver/rest

1 file changed

+0
-5
lines changed

services/web/server/src/simcore_service_webserver/rest/plugin.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
error_middleware_factory,
1717
)
1818

19-
from .._constants import APP_SETTINGS_KEY
2019
from .._meta import API_VTAG
2120
from ..security.plugin import setup_security
2221
from . import _handlers
@@ -38,10 +37,6 @@ def setup_rest(app: web.Application):
3837

3938
setup_security(app)
4039

41-
is_diagnostics_enabled: bool = (
42-
app[APP_SETTINGS_KEY].WEBSERVER_DIAGNOSTICS is not None
43-
)
44-
4540
spec_path = get_openapi_specs_path(api_version_dir=API_VTAG)
4641

4742
app[HealthCheck.__name__] = HealthCheck(app)

0 commit comments

Comments
 (0)