mirror of
https://github.com/status-im/consul.git
synced 2025-02-22 10:28:31 +00:00
agent: Allow CheckUpdateInterval to be zero
This commit is contained in:
parent
971d093283
commit
1b53664879
@ -553,7 +553,7 @@ func MergeConfig(a, b *Config) *Config {
|
||||
if b.DNSConfig.MaxStale != 0 {
|
||||
result.DNSConfig.MaxStale = b.DNSConfig.MaxStale
|
||||
}
|
||||
if b.CheckUpdateInterval != 0 {
|
||||
if b.CheckUpdateIntervalRaw != "" {
|
||||
result.CheckUpdateInterval = b.CheckUpdateInterval
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user