From 3af65e7abb68ef4e6785ed36fbae5c412f25b64c Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Fri, 27 May 2016 09:44:41 -0700 Subject: [PATCH] Fix typo in output plugin example (#1290) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }