add CheckUpdateStagger to MergeConfig

This commit is contained in:
artushin 2015-04-23 16:56:20 -05:00
parent 1e13acba68
commit 1ebc1cf916

View file

@ -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
}