diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3997a448e..6792abaa4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 }