mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix deleting resource from resource pool. Ref #2293
This commit is contained in:
1 parent
66b66cc3e1
commit
a27db6b4eb
3 files changed
+26
-3
No files matched your search
@@ -183,7 +183,7 @@ async def create_ace(
|
||||
route_path = re.sub(r"/{[\w:]+}", r"/\\w+", route_path)
|
||||
|
||||
if re.fullmatch(route_path, ace_create.path):
|
||||
log.info("Creating ACE for route path", ace_create.path, route_path)
|
||||
log.info(f"Creating ACE for route path {route_path}")
|
||||
return await rbac_repo.create_ace(ace_create)
|
||||
|
||||
raise ControllerBadRequestError(f"Path '{ace_create.path}' doesn't match any existing endpoint")
|
||||
|
||||
Reference in new issue
Block a user