Skip to content

Commit 4199f18

Browse files
authored
Remove unused 'Host' member from HTTPClientConfig (#597)
Signed-off-by: Bryan Boreham <[email protected]>
1 parent fa71e6a commit 4199f18

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/http_config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ type HTTPClientConfig struct {
309309
// The omitempty flag is not set, because it would be hidden from the
310310
// marshalled configuration when set to false.
311311
EnableHTTP2 bool `yaml:"enable_http2" json:"enable_http2"`
312-
// Host optionally overrides the Host header to send.
313-
// If empty, the host from the URL will be used.
314-
Host string `yaml:"host,omitempty" json:"host,omitempty"`
315312
// Proxy configuration.
316313
ProxyConfig `yaml:",inline"`
317314
}

0 commit comments

Comments
 (0)