Fix function name

This commit is contained in:
niten 2023-11-03 11:03:48 -07:00
parent e579752612
commit af6fcd6a8c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ let
let let
networkHostsByComponent = networkHostsByComponent =
mapAttrs' (ip: hostname: nameValuePair (getLastIpComponent ip) hostname) mapAttrs' (ip: hostname: nameValuePair (getLastIpComponent ip) hostname)
(networkHosts network ipHostMap); (getNetworkHosts network ipHostMap);
ptrEntry = ip: hostname: "#{ip} IN PTR ${hostname}."; ptrEntry = ip: hostname: "#{ip} IN PTR ${hostname}.";
getHostname = n: getHostname = n:
if hasAttr networkHostsByComponent n then if hasAttr networkHostsByComponent n then