Update haproxy input plugin sample configuration

This commit is contained in:
Marko Crnic 2016-05-04 09:22:34 +02:00
parent 6ee1c8a60d
commit 69c10c6708
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ var sampleConfig = `
## If no servers are specified, then default to 127.0.0.1:1936 ## If no servers are specified, then default to 127.0.0.1:1936
servers = ["http://myhaproxy.com:1936", "http://anotherhaproxy.com:1936"] servers = ["http://myhaproxy.com:1936", "http://anotherhaproxy.com:1936"]
## Or you can also use local socket(not work yet) ## Or you can also use local socket
## servers = ["socket://run/haproxy/admin.sock"] ## servers = ["socket:/run/haproxy/admin.sock"]
` `
func (r *haproxy) SampleConfig() string { func (r *haproxy) SampleConfig() string {