Skip to content

Commit

Permalink
Fix varnish plugin to use default values
Browse files Browse the repository at this point in the history
closes #1752
  • Loading branch information
sparrc committed Sep 23, 2016
1 parent ddc07f9 commit c043461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
4 changes: 3 additions & 1 deletion plugins/inputs/varnish/varnish.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
})
}

0 comments on commit c043461

Please sign in to comment.