Fix dumplicated table in sample config
This commit is contained in:
parent
41c8d74ef0
commit
cc63db9e44
|
@ -22,13 +22,11 @@ type TwemproxyInstance struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
# Twemproxy plugin config
|
[[twemproxy.instances]]
|
||||||
[twemproxy]
|
# Twemproxy stats address and port (no scheme)
|
||||||
[[twemproxy.instances]]
|
addr = "10.16.29.1:22222"
|
||||||
# Twemproxy stats address and port(NO scheme!)
|
# Monitor pool name
|
||||||
addr = "10.16.29.1:22222"
|
pools = ["redis_pool", "mc_pool"]
|
||||||
# Monitor pool name
|
|
||||||
pools = ["redis_pool", "mc_pool"]
|
|
||||||
`
|
`
|
||||||
|
|
||||||
func (t *Twemproxy) SampleConfig() string {
|
func (t *Twemproxy) SampleConfig() string {
|
||||||
|
|
Loading…
Reference in New Issue