diff --git a/agent/structs/config_entry_discoverychain.go b/agent/structs/config_entry_discoverychain.go index 4af2fecd2..7c95b23bc 100644 --- a/agent/structs/config_entry_discoverychain.go +++ b/agent/structs/config_entry_discoverychain.go @@ -1498,10 +1498,6 @@ func (m *HTTPHeaderModifiers) IsZero() bool { } func (m *HTTPHeaderModifiers) Validate(protocol string) error { - if m == nil { - // Empty is always valid - return nil - } if m.IsZero() { return nil }