From 00829219a501c01d489bd96a61611eb66820d073 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 3 Dec 2023 22:03:51 +0200 Subject: [PATCH] fix pihole upgrade_strategy (#1810) --- library/ix-dev/charts/pihole/upgrade_strategy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ix-dev/charts/pihole/upgrade_strategy b/library/ix-dev/charts/pihole/upgrade_strategy index 0fb0392264..af685230a1 100755 --- a/library/ix-dev/charts/pihole/upgrade_strategy +++ b/library/ix-dev/charts/pihole/upgrade_strategy @@ -11,7 +11,7 @@ RE_STABLE_VERSION = re.compile(r'\d+\.\d+\.\d+') def newer_mapping(image_tags): key = list(image_tags.keys())[0] - tags = {t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)} + tags = {t: t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)} version = semantic_versioning(list(tags)) if not version: return {}