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