Skip to content
Snippets Groups Projects
Commit c043461f authored by Cameron Sparr's avatar Cameron Sparr
Browse files

Fix varnish plugin to use default values

closes #1752
parent ddc07f9e
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
- [#1764](https://github.com/influxdata/telegraf/issues/1764): Fix kafka consumer panic when nil error is returned down errs channel. - [#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. - [#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. - [#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] ## v1.0.1 [unreleased]
......
...@@ -146,7 +146,9 @@ func (s *Varnish) Gather(acc telegraf.Accumulator) error { ...@@ -146,7 +146,9 @@ func (s *Varnish) Gather(acc telegraf.Accumulator) error {
func init() { func init() {
inputs.Add("varnish", func() telegraf.Input { inputs.Add("varnish", func() telegraf.Input {
return &Varnish{ return &Varnish{
run: varnishRunner, run: varnishRunner,
Stats: defaultStats,
Binary: defaultBinary,
} }
}) })
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment