mirror of https://github.com/hashicorp/consul
add CheckUpdateStagger to MergeConfig
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…
Reference in New Issue