Update sample config in contributing docs

This commit is contained in:
Daniel Nelson 2018-02-02 12:30:12 -08:00
parent 4c4733fdee
commit 248ac6d92b
1 changed files with 7 additions and 2 deletions

View File

@ -79,7 +79,10 @@ func (s *Simple) Description() string {
} }
func (s *Simple) SampleConfig() 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 { func (s *Simple) Gather(acc telegraf.Accumulator) error {
@ -207,7 +210,9 @@ func (s *Simple) Description() string {
} }
func (s *Simple) SampleConfig() string { func (s *Simple) SampleConfig() string {
return "url = localhost" return `
ok = true
`
} }
func (s *Simple) Connect() error { func (s *Simple) Connect() error {