From 1673491996764e360137ab2f2cf58323b5c6cac5 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 {