fix: remove leftover debug print dumping all routes on ACE creation

Creating an ACE printed every route path of the application to stdout.
The debug loop was left behind when the route iteration moved to
_iter_route_paths() in 021991410.
This commit is contained in:
YueGuobin committed 2026-11-05 23:13:42 +08:00
1 parent 94077b4884
commit 425d91c085
1 file changed
-3
-3
View File
@@ -203,9 +203,6 @@ async def create_ace(
Required privilege: ACE.Allocate
"""
for route_path in _iter_route_paths(request.app.routes, include_mounted_routes=True):
print(route_path)
for route_path in _iter_route_paths(request.app.routes, include_mounted_routes=True):
# remove the prefix (e.g. "/v3") from the route path
normalized_path = re.sub(r"^/v[0-9]", "", route_path)