Skip to content

Commit

Permalink
core: version-chooser: fix checking for remote tags with 'companion-c…
Browse files Browse the repository at this point in the history
…ore'
  • Loading branch information
Williangalvani authored and patrickelectric committed Jan 27, 2022
1 parent 4c5c0aa commit 7f5bb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/versionchooser/utils/chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async def get_available_versions(self, repository: str) -> web.Response:
for image in await self.client.images.list():
if not image["RepoTags"]:
continue
if not any("companion-core" in tag for tag in image["RepoTags"]):
if not any(tag.startswith("companion-core:") for tag in image["RepoTags"]):
continue
for image_tag in image["RepoTags"]:
image_repository, tag = image_tag.split(":")
Expand Down

0 comments on commit 7f5bb00

Please sign in to comment.