Skip to content

Commit

Permalink
Update sample config in contributing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed Feb 2, 2018
1 parent 3208fc3 commit be688ec
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ func (s *Simple) Description() string {
}

func (s *Simple) SampleConfig() string {
return "ok = true # indicate if everything is fine"
return `
## Indicate if everything is fine
ok = true
`
}

func (s *Simple) Gather(acc telegraf.Accumulator) error {
Expand Down Expand Up @@ -207,7 +210,9 @@ func (s *Simple) Description() string {
}

func (s *Simple) SampleConfig() string {
return "url = localhost"
return `
ok = true
`
}

func (s *Simple) Connect() error {
Expand Down

0 comments on commit be688ec

Please sign in to comment.