Update sample config in contributing docs
This commit is contained in:
parent
4c4733fdee
commit
248ac6d92b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue