Fix typo in output plugin example (#1290)
This commit is contained in:
parent
984b6cb0fb
commit
3af65e7abb
|
@ -212,8 +212,8 @@ func (s *Simple) Close() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Simple) Write(metrics []telegraf.Metric) error {
|
func (s *Simple) Write(metrics []telegraf.Metric) error {
|
||||||
for _, pt := range points {
|
for _, metric := range metrics {
|
||||||
// write `pt` to the output sink here
|
// write `metric` to the output sink here
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue