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 {
|
||||
for _, pt := range points {
|
||||
// write `pt` to the output sink here
|
||||
for _, metric := range metrics {
|
||||
// write `metric` to the output sink here
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue