Fix deleting resource from resource pool. Ref #2293

This commit is contained in:
grossmj committed 2023-09-28 18:38:38 +10:00
1 parent 66b66cc3e1
commit a27db6b4eb
3 files changed
+26 -3

No files matched your search

+1 -1
View File
@@ -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")