refactor: update resolveHostIP to use updated namespace for builtins.throw
Some checks failed
ci / nix-fmt (push) Has been cancelled
Some checks failed
ci / nix-fmt (push) Has been cancelled
This commit is contained in:
parent
8518f63bb3
commit
afb8ab2b61
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ with lib; rec {
|
|||
resolveHostIP = devices: node:
|
||||
if builtins.hasAttr node devices
|
||||
then devices.${node}.IP
|
||||
else builtins.throw "Host '${node}' does not exist in the devices configuration.";
|
||||
else throw "Host '${node}' does not exist in the devices configuration.";
|
||||
|
||||
## Check for configuration conflicts between mount and share declarations.
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue