mirror of
https://github.com/status-im/consul.git
synced 2025-02-25 03:45:27 +00:00
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…
x
Reference in New Issue
Block a user