summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2017-01-20 20:00:46 +0100
committerSilvan Jegen <s.jegen@gmail.com>2017-01-20 20:00:46 +0100
commitba15251035961020363fa5aff95ff0a361023af9 (patch)
tree8bd9a4ace4d8d3354b30638d716c0797f78eab16 /conf
parent7490e2c1c2686e5de165965d5d6bbaf61a1894c8 (diff)
Print filter module description as well
Diffstat (limited to 'conf')
-rw-r--r--conf/parser.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/conf/parser.go b/conf/parser.go
index dfaa8dc..6aca3aa 100644
--- a/conf/parser.go
+++ b/conf/parser.go
@@ -53,10 +53,11 @@ func NewConfig(r io.Reader) *Config {
}
func (p *parser) startparsing() {
- mdesc := p.module("input")
- fmt.Fprintf(os.Stderr, "moduledesc: %#v\n", mdesc)
+ inputmdesc := p.module("input")
+ fmt.Fprintf(os.Stderr, "input moduledesc: %#v\n", inputmdesc)
- p.module("filter")
+ filtermdesc := p.module("filter")
+ fmt.Fprintf(os.Stderr, "filter moduledesc: %#v\n", filtermdesc)
}