Define isNotNull
This commit is contained in:
parent
9108b0d21f
commit
7169a05ac3
|
@ -54,6 +54,8 @@ let
|
|||
lines = splitString "\n" zonedata;
|
||||
in concatStringsSep "\n" (map formatter lines);
|
||||
|
||||
isNotNull = o: !isNull o;
|
||||
|
||||
hostToFqdn = host:
|
||||
if isNotNull (match ".+.$" host) then
|
||||
host
|
||||
|
|
Loading…
Reference in New Issue