Oh for FUCKS sake
This commit is contained in:
parent
d9d5652d6d
commit
a045355053
@ -58,7 +58,7 @@ let
|
|||||||
|
|
||||||
hostToFqdn = host:
|
hostToFqdn = host:
|
||||||
let hostChars = "[a-zA-Z0-9_-]";
|
let hostChars = "[a-zA-Z0-9_-]";
|
||||||
in if isNotNull (builtins.match "^${hostChars}+$") then
|
in if isNotNull (builtins.match "^${hostChars}+$" host) then
|
||||||
"${host}.${domain}."
|
"${host}.${domain}."
|
||||||
else if isNotNull (builtins.match "${hostChars}+\\.$" host) then
|
else if isNotNull (builtins.match "${hostChars}+\\.$" host) then
|
||||||
host
|
host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user