diff --git a/command/agent/config.go b/command/agent/config.go index 7b6fc1ba65..581cf9ca48 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -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 }