Skip to content

Commit

Permalink
Fix typo in output plugin example (influxdata#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjib authored and sparrc committed May 27, 2016
1 parent 984b6cb commit 3af65e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ func (s *Simple) Close() error {
}

func (s *Simple) Write(metrics []telegraf.Metric) error {
for _, pt := range points {
// write `pt` to the output sink here
for _, metric := range metrics {
// write `metric` to the output sink here
}
return nil
}
Expand Down

0 comments on commit 3af65e7

Please sign in to comment.