Skip to content

Commit 362a335

Browse files
committed
fix
1 parent 8d00a75 commit 362a335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cads_processing_api_service/middlewares.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ class ProcessingPrometheusMiddleware(starlette_exporter.PrometheusMiddleware):
5252
def _get_router_path(scope: starlette.types.Scope) -> str | None:
5353
path = scope.get("path", "")
5454
if path.startswith("/jobs/") and path != "/jobs/":
55-
return "/".join(scope.get("root_path"), "jobs/{job_id}")
55+
return "/".join([scope.get("root_path"), "jobs/{job_id}"])
5656
else:
5757
return None

0 commit comments

Comments
 (0)