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 8d00a75 commit 362a335Copy full SHA for 362a335
cads_processing_api_service/middlewares.py
@@ -52,6 +52,6 @@ class ProcessingPrometheusMiddleware(starlette_exporter.PrometheusMiddleware):
52
def _get_router_path(scope: starlette.types.Scope) -> str | None:
53
path = scope.get("path", "")
54
if path.startswith("/jobs/") and path != "/jobs/":
55
- return "/".join(scope.get("root_path"), "jobs/{job_id}")
+ return "/".join([scope.get("root_path"), "jobs/{job_id}"])
56
else:
57
return None
0 commit comments