From b7773cca91f120dcfbd9994d3fcc8b7c38c584b3 Mon Sep 17 00:00:00 2001 From: Gyubong Lee Date: Wed, 20 Nov 2024 06:44:37 +0000 Subject: [PATCH] chore: Remove useless comment --- src/ai/backend/manager/api/container_registry.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ai/backend/manager/api/container_registry.py b/src/ai/backend/manager/api/container_registry.py index cb837a91bcd..c8a34d9886f 100644 --- a/src/ai/backend/manager/api/container_registry.py +++ b/src/ai/backend/manager/api/container_registry.py @@ -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}%"))