Commit 6d433dc9 authored by sonicaj's avatar sonicaj

Properly use normalized tags for chia upgrade strategy

parent 9ff4cbf3
......@@ -8,7 +8,7 @@ from catalog_update.upgrade_strategy import semantic_versioning
def newer_mapping(image_tags):
key = list(image_tags.keys())[0]
tags = {t.strip('v').replace('_', '.'): t for t in image_tags[key]}
version = semantic_versioning(image_tags[key])
version = semantic_versioning(tags)
if not version:
return {}
......
......@@ -8,7 +8,7 @@ from catalog_update.upgrade_strategy import semantic_versioning
def newer_mapping(image_tags):
key = list(image_tags.keys())[0]
tags = {t.strip('v').replace('_', '.'): t for t in image_tags[key]}
version = semantic_versioning(image_tags[key])
version = semantic_versioning(tags)
if not version:
return {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment