Get rid of trace
This commit is contained in:
parent
b9840d547c
commit
a5a9423041
|
@ -78,8 +78,7 @@ in {
|
|||
nameValuePair "${dom}." {
|
||||
dnssec = domCfg.ksk.key-file != null;
|
||||
ksk.keyFile = mkIf (domCfg.ksk.key-file != null) domCfg.ksk.key-file;
|
||||
data = let content = zoneToZonefile cfg.timestamp dom domCfg.zone;
|
||||
in trace content content;
|
||||
data = zoneToZonefile cfg.timestamp dom domCfg.zone;
|
||||
}) cfg.domains;
|
||||
};
|
||||
};
|
||||
|
|
3
nsd.nix
3
nsd.nix
|
@ -185,8 +185,7 @@ let
|
|||
${forEach " provide-xfr: " zone.provideXFR}
|
||||
'';
|
||||
|
||||
zoneConfigs =
|
||||
zoneConfigs' { } "" { children = (trace (attrNames cfg.zones) cfg.zones); };
|
||||
zoneConfigs = zoneConfigs' { } "" { children = cfg.zones; };
|
||||
|
||||
zoneConfigs' = parent: name: zone:
|
||||
if !(zone ? children) || zone.children == null || zone.children == { }
|
||||
|
|
Loading…
Reference in New Issue