Fix typo in output plugin example (#1290)

This commit is contained in:
Ranjib Dey
2016-05-27 09:44:41 -07:00
committed by Cameron Sparr
parent 984b6cb0fb
commit 3af65e7abb

View File

@@ -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
}