Fix bug in sample code.

closes #784
closes #785
This commit is contained in:
Auke Willem Oosterhoff
2016-03-03 15:31:37 +00:00
committed by Cameron Sparr
parent e5482a5725
commit e81278b800
+1 -1
View File
@@ -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 {