Skip to content

Commit

Permalink
Fix bug in sample code.
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeTux authored and sparrc committed Mar 3, 2016
1 parent e5482a5 commit e81278b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e81278b

Please sign in to comment.