diff --git a/command/agent/config.go b/command/agent/config.go index 89abd6300..2a5f55715 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -602,6 +602,9 @@ func (a *AdvertiseAddrs) Merge(b *AdvertiseAddrs) *AdvertiseAddrs { if b.Serf != "" { result.Serf = b.Serf } + if b.HTTP != "" { + result.HTTP = b.HTTP + } return &result }