From 4199f18c3e92b285c6549348f09bcb586de5a735 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 6 Mar 2024 13:20:07 +0000 Subject: [PATCH] Remove unused 'Host' member from HTTPClientConfig (#597) Signed-off-by: Bryan Boreham --- config/http_config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/http_config.go b/config/http_config.go index d8750bc2..20441818 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -309,9 +309,6 @@ type HTTPClientConfig struct { // The omitempty flag is not set, because it would be hidden from the // marshalled configuration when set to false. EnableHTTP2 bool `yaml:"enable_http2" json:"enable_http2"` - // Host optionally overrides the Host header to send. - // If empty, the host from the URL will be used. - Host string `yaml:"host,omitempty" json:"host,omitempty"` // Proxy configuration. ProxyConfig `yaml:",inline"` }