From e339b7568692e30a3e0a68ae1255b4e09f0d85f7 Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Thu, 9 Jan 2025 11:18:11 +0900 Subject: [PATCH] fix: Make the warning message consistent --- src/ai/backend/manager/container_registry/harbor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ai/backend/manager/container_registry/harbor.py b/src/ai/backend/manager/container_registry/harbor.py index 8bf5c80fc8..bf4cd82f2d 100644 --- a/src/ai/backend/manager/container_registry/harbor.py +++ b/src/ai/backend/manager/container_registry/harbor.py @@ -123,7 +123,7 @@ async def _scan_tag( if not labels: log.warning( - "Labels section not found on image {}:{}/{} -> treating as vanilla images", + "The image {}:{}/{} has no metadata labels -> treating as vanilla image", image, tag, architecture, @@ -484,7 +484,7 @@ async def _harbor_scan_tag_per_arch( if labels is None: log.warning( - "Labels section not found on image {}:{}/{} -> treating as vanilla image", + "The image {}:{}/{} has no metadata labels -> treating as vanilla image", image, tag, architecture, @@ -538,7 +538,7 @@ async def _harbor_scan_tag_single_arch( if labels is None: log.warning( - "Labels section not found on image {}:{}/{} -> treating as vanilla image", + "The image {}:{}/{} has no metadata labels -> treating as vanilla image", image, tag, architecture,