diff --git a/command/agent/config.go b/command/agent/config.go index f08d545b1..9a6a043f8 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -500,6 +500,9 @@ func MergeConfig(a, b *Config) *Config { if b.SkipLeaveOnInt == true { result.SkipLeaveOnInt = true } + if b.StatsiteAddr != "" { + result.StatsiteAddr = b.StatsiteAddr + } if b.EnableDebug { result.EnableDebug = true }