Skip to content

Commit

Permalink
chore: Remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Nov 20, 2024
1 parent 82c96c4 commit b7773cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ai/backend/manager/api/container_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ async def harbor_webhook_handler(request: web.Request, params: Any) -> web.Respo
resource_url = resource["resource_url"]
registry_url = resource_url.split("/")[0]

# Since harbor webhook event does not include the registry_name info,
# We need to identify the registry row through URL here.
query = sa.select(ContainerRegistryRow).where(
(ContainerRegistryRow.type == ContainerRegistryType.HARBOR2)
& (ContainerRegistryRow.url.like(f"%{registry_url}%"))
Expand Down

0 comments on commit b7773cc

Please sign in to comment.