浏览代码

fix pihole upgrade_strategy (#1810)

Stavros Kois 1 年之前
父节点
当前提交
00829219a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      library/ix-dev/charts/pihole/upgrade_strategy

+ 1 - 1
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 {}