fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2024-01-31 20:58:50 -05:00
parent 360c1263cd
commit 2f1d58eca8

View File

@ -161,7 +161,7 @@ def main(ctx):
for (coder_template, context) in TEMPLATES[jinja_template].items(): for (coder_template, context) in TEMPLATES[jinja_template].items():
context = {k: v for (k, v) in context.items()} context = {k: v for (k, v) in context.items()}
target_clusters = [{"name": DEFAULT_CLUSTER_NAME, "config_path": None}] target_clusters = [{"name": DEFAULT_CLUSTER_NAME, "config_path": ""}]
if "target_clusters" in context: if "target_clusters" in context:
for cluster_name in context["target_clusters"]: for cluster_name in context["target_clusters"]:
target_clusters.append({"name": cluster_name, "config_path": CLUSTERS[cluster_name]}) target_clusters.append({"name": cluster_name, "config_path": CLUSTERS[cluster_name]})