Skip to content

Commit 4b0d04e

Browse files
dolfinusMTSOnGithub
authored andcommitted
Fix mypy warnings
1 parent a4f7f00 commit 4b0d04e

File tree

1 file changed

+1
-1
lines changed
  • syncmaster/server/middlewares/monitoring

1 file changed

+1
-1
lines changed

syncmaster/server/middlewares/monitoring/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def apply_monitoring_metrics_middleware(app: FastAPI, settings: MonitoringSettin
3737
app.add_middleware(
3838
PrometheusMiddleware,
3939
app_name=slugify(app.title),
40-
skip_paths=skip_paths,
40+
skip_paths=sorted(skip_paths),
4141
**settings.model_dump(exclude={"enabled", "skip_paths"}),
4242
)
4343
app.include_router(router)

0 commit comments

Comments
 (0)