mirror of
https://github.com/truenas/charts.git
synced 2026-06-15 06:28:46 +08:00
fix pihole upgrade strategy
This commit is contained in:
committed by
Stavros Kois
parent
d322121ce9
commit
7c500a99ba
@@ -8,7 +8,7 @@ from catalog_update.upgrade_strategy import datetime_versioning
|
||||
def newer_mapping(image_tags):
|
||||
key = list(image_tags.keys())[0]
|
||||
tags = {t for t in image_tags[key]}
|
||||
version = datetime_versioning(list(tags), '%Y-%m-%d')
|
||||
version = datetime_versioning(list(tags), '%Y.%m.%d')
|
||||
if not version:
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user