summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/parser.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/parser.go b/conf/parser.go
index b1b4447..4a51c6f 100644
--- a/conf/parser.go
+++ b/conf/parser.go
@@ -80,7 +80,7 @@ func (p *parser) parse() *manager.Manager {
if !ok {
fmt.Fprintf(os.Stderr, "filter module is not known: %q\n", fdesc.name)
}
- filt = filternewfunc(nil)
+ filt = filternewfunc(fdesc.keyvalues)
}
outputmdescs := p.mainmodule("output")
@@ -90,7 +90,7 @@ func (p *parser) parse() *manager.Manager {
if !ok {
fmt.Fprintf(os.Stderr, "output module is not known: %q\n", odesc.name)
}
- out = outputnewfunc(nil)
+ out = outputnewfunc(odesc.keyvalues)
}
return &manager.Manager{Input: in, Filter: filt, Output: out}