Cleanup comments and indentation in config file

This commit is contained in:
Cameron Sparr
2016-02-08 22:57:26 -07:00
parent fb75db2f1f
commit fc7fa4b6c5
45 changed files with 237 additions and 242 deletions

View File

@@ -86,13 +86,13 @@ type haproxy struct {
}
var sampleConfig = `
# An array of address to gather stats about. Specify an ip on hostname
# with optional port. ie localhost, 10.10.3.33:1936, etc.
#
# If no servers are specified, then default to 127.0.0.1:1936
### An array of address to gather stats about. Specify an ip on hostname
### with optional port. ie localhost, 10.10.3.33:1936, etc.
### If no servers are specified, then default to 127.0.0.1:1936
servers = ["http://myhaproxy.com:1936", "http://anotherhaproxy.com:1936"]
# Or you can also use local socket(not work yet)
# servers = ["socket://run/haproxy/admin.sock"]
### Or you can also use local socket(not work yet)
### servers = ["socket://run/haproxy/admin.sock"]
`
func (r *haproxy) SampleConfig() string {