forked from DGNum/colmena
fix: allow specialArgs and nodeSpecialArgs to override name and nodes
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
This commit is contained in:
parent
caf33af7d8
commit
c6f42e447d
1 changed files with 2 additions and 2 deletions
|
@ -151,10 +151,10 @@ let
|
||||||
colmenaOptions.deploymentOptions
|
colmenaOptions.deploymentOptions
|
||||||
hive.defaults
|
hive.defaults
|
||||||
] ++ configs;
|
] ++ configs;
|
||||||
specialArgs = hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {}) // {
|
specialArgs = {
|
||||||
inherit name;
|
inherit name;
|
||||||
nodes = uncheckedNodes;
|
nodes = uncheckedNodes;
|
||||||
};
|
} // hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {});
|
||||||
};
|
};
|
||||||
|
|
||||||
nodeNames = filter (name: ! elem name reservedNames) (attrNames hive);
|
nodeNames = filter (name: ! elem name reservedNames) (attrNames hive);
|
||||||
|
|
Loading…
Reference in a new issue