Commit 59df3cc7 authored by kaiyou's avatar kaiyou

Use the merge utility when instanciating the configuration

parent e55c6d11
...@@ -14,7 +14,7 @@ def expand(conf): ...@@ -14,7 +14,7 @@ def expand(conf):
instances = value["instances"] instances = value["instances"]
del conf[key]["instances"] del conf[key]["instances"]
conf.update(expand({ conf.update(expand({
key + "_" + instance_key: {**value, **instance} key + "_" + instance_key: util.merge(value, instance)
for instance_key, instance in instances.items() for instance_key, instance in instances.items()
})) }))
del conf[key] del conf[key]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment