mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
add CheckUpdateStagger to MergeConfig
This commit is contained in:
parent
8decf5d394
commit
fc0331ddfc
@ -930,6 +930,9 @@ func MergeConfig(a, b *Config) *Config {
|
||||
if b.CheckUpdateIntervalRaw != "" || b.CheckUpdateInterval != 0 {
|
||||
result.CheckUpdateInterval = b.CheckUpdateInterval
|
||||
}
|
||||
if b.CheckUpdateStagger {
|
||||
result.CheckUpdateStagger = true
|
||||
}
|
||||
if b.SyslogFacility != "" {
|
||||
result.SyslogFacility = b.SyslogFacility
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user