From e81278b8006fc5615360a4d832e27ae1b0ff1970 Mon Sep 17 00:00:00 2001 From: Auke Willem Oosterhoff Date: Thu, 3 Mar 2016 14:14:09 +0100 Subject: [PATCH] Fix bug in sample code. closes #784 closes #785 --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index afbfbf088..68c9da478 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -80,7 +80,7 @@ func (s *Simple) SampleConfig() string { return "ok = true # indicate if everything is fine" } -func (s *Simple) Gather(acc inputs.Accumulator) error { +func (s *Simple) Gather(acc telegraf.Accumulator) error { if s.Ok { acc.Add("state", "pretty good", nil) } else {