mirror of https://github.com/status-im/consul.git
agent: Fixing merge of CheckUpdateInterval
This commit is contained in:
parent
476339b20c
commit
87373787e2
|
@ -553,7 +553,7 @@ func MergeConfig(a, b *Config) *Config {
|
|||
if b.DNSConfig.MaxStale != 0 {
|
||||
result.DNSConfig.MaxStale = b.DNSConfig.MaxStale
|
||||
}
|
||||
if b.CheckUpdateIntervalRaw != "" {
|
||||
if b.CheckUpdateIntervalRaw != "" || b.CheckUpdateInterval != 0 {
|
||||
result.CheckUpdateInterval = b.CheckUpdateInterval
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue