This commit is contained in:
parent
f0ac76f924
commit
78c506e09c
@ -160,7 +160,8 @@ def main(ctx):
|
|||||||
for jinja_template in TEMPLATES:
|
for jinja_template in TEMPLATES:
|
||||||
for (coder_template, context) in TEMPLATES[jinja_template].items():
|
for (coder_template, context) in TEMPLATES[jinja_template].items():
|
||||||
target_clusters = [{"name": DEFAULT_CLUSTER_NAME}]
|
target_clusters = [{"name": DEFAULT_CLUSTER_NAME}]
|
||||||
for cluster_name in context.pop("clusters", []):
|
if "target_clusters" in context:
|
||||||
|
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]})
|
||||||
context["target_clusters"] = target_clusters
|
context["target_clusters"] = target_clusters
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user