Seems to be a toml parse bug around triple pounds
This commit is contained in:
@@ -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.
|
||||
## 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
|
||||
## 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 {
|
||||
|
||||
Reference in New Issue
Block a user