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

@ -32,6 +32,7 @@
- [#1764](https://github.com/influxdata/telegraf/issues/1764): Fix kafka consumer panic when nil error is returned down errs channel.
- [#1768](https://github.com/influxdata/telegraf/pull/1768): Speed up statsd parsing.
- [#1751](https://github.com/influxdata/telegraf/issues/1751): Fix powerdns integer parse error handling.
- [#1752](https://github.com/influxdata/telegraf/issues/1752): Fix varnish plugin defaults not being used.
## v1.0.1 [unreleased]

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,
}
})
}