Fix function name
This commit is contained in:
parent
e579752612
commit
af6fcd6a8c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue