Skip to content

Commit

Permalink
fix: Make the warning message consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jan 9, 2025
1 parent 8b1a2a2 commit b9644cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ai/backend/manager/container_registry/harbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b9644cc

Please sign in to comment.