Fix varnish plugin to use default values

closes #1752
This commit is contained in:
Cameron Sparr
2016-09-23 16:01:51 +01:00
parent ddc07f9ef8
commit c043461f6c
2 changed files with 4 additions and 1 deletions

View File

@@ -146,7 +146,9 @@ func (s *Varnish) Gather(acc telegraf.Accumulator) error {
func init() {
inputs.Add("varnish", func() telegraf.Input {
return &Varnish{
run: varnishRunner,
run: varnishRunner,
Stats: defaultStats,
Binary: defaultBinary,
}
})
}