This commit is contained in:
parent
360c1263cd
commit
2f1d58eca8
@ -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]})
|
||||||
|
|||||||
Reference in New Issue
Block a user