diff --git a/command/agent/config.go b/command/agent/config.go index 716b6e8e11..5b3357a34e 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -849,9 +849,6 @@ func MergeConfig(a, b *Config) *Config { if b.BindAddr != "" { result.BindAddr = b.BindAddr } - if b.Ports.HTTP != 0 { - result.Ports.HTTP = b.Ports.HTTP - } if b.AdvertiseAddr != "" { result.AdvertiseAddr = b.AdvertiseAddr }