mirror of
https://github.com/truenas/charts.git
synced 2026-11-08 00:36:14 +00:00
Properly use normalized tags for chia upgrade strategy
This commit is contained in:
1 parent
9ff4cbf31b
commit
6d433dc97b
2 files changed
+2
-2
No files matched your search
@@ -8,7 +8,7 @@ from catalog_update.upgrade_strategy import semantic_versioning
|
|||||||
def newer_mapping(image_tags):
|
def newer_mapping(image_tags):
|
||||||
key = list(image_tags.keys())[0]
|
key = list(image_tags.keys())[0]
|
||||||
tags = {t.strip('v').replace('_', '.'): t for t in image_tags[key]}
|
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:
|
if not version:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ from catalog_update.upgrade_strategy import semantic_versioning
|
|||||||
def newer_mapping(image_tags):
|
def newer_mapping(image_tags):
|
||||||
key = list(image_tags.keys())[0]
|
key = list(image_tags.keys())[0]
|
||||||
tags = {t.strip('v').replace('_', '.'): t for t in image_tags[key]}
|
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:
|
if not version:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user