Skip to content

Commit

Permalink
fix: Move change
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Oct 25, 2024
1 parent 3511d62 commit 0111045
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ai/backend/common/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@ def merge_aliases(genned_aliases_1, genned_aliases_2) -> Mapping[str, "ImageRef"
@property
def canonical(self) -> str:
join = functools.partial(join_non_empty, sep="/")
if self.is_local:
return f"{join(self.project, self.name)}:{self.tag}"

# e.g., cr.backend.ai/stable/python:3.9-ubuntu
return f"{join(self.registry, self.project, self.name)}:{self.tag}"

Expand Down

0 comments on commit 0111045

Please sign in to comment.