refactor: update resolveHostIP to use updated namespace for builtins.throw
Some checks failed
ci / nix-fmt (push) Has been cancelled

This commit is contained in:
Ceferino Patino 2026-05-15 17:57:59 -05:00
commit afb8ab2b61
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -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.
##