From 0abb1154ea2cfb1f68c7dc7e4b4ab10b48d7196e Mon Sep 17 00:00:00 2001 From: Auke Willem Oosterhoff Date: Thu, 3 Mar 2016 14:14:09 +0100 Subject: [PATCH] #784 Fix bug in sample code. --- 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 {