mirror of https://github.com/hashicorp/consul
While we're at it, make statsite_addr work at all.
parent
825dcd04f4
commit
f3b9fcb49a
|
@ -500,6 +500,9 @@ func MergeConfig(a, b *Config) *Config {
|
||||||
if b.SkipLeaveOnInt == true {
|
if b.SkipLeaveOnInt == true {
|
||||||
result.SkipLeaveOnInt = true
|
result.SkipLeaveOnInt = true
|
||||||
}
|
}
|
||||||
|
if b.StatsiteAddr != "" {
|
||||||
|
result.StatsiteAddr = b.StatsiteAddr
|
||||||
|
}
|
||||||
if b.EnableDebug {
|
if b.EnableDebug {
|
||||||
result.EnableDebug = true
|
result.EnableDebug = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue