Fix dumplicated table in sample config

This commit is contained in:
Codeb Fan 2015-11-13 00:57:43 +08:00
parent 7e4c69f923
commit 5be3dd39b0
1 changed files with 5 additions and 7 deletions

View File

@ -22,13 +22,11 @@ type TwemproxyInstance struct {
}
var sampleConfig = `
# Twemproxy plugin config
[twemproxy]
[[twemproxy.instances]]
# Twemproxy stats address and port(NO scheme!)
addr = "10.16.29.1:22222"
# Monitor pool name
pools = ["redis_pool", "mc_pool"]
[[twemproxy.instances]]
# Twemproxy stats address and port (no scheme)
addr = "10.16.29.1:22222"
# Monitor pool name
pools = ["redis_pool", "mc_pool"]
`
func (t *Twemproxy) SampleConfig() string {