Skip to content

Commit

Permalink
Remove unused 'Host' member from HTTPClientConfig (#597)
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
  • Loading branch information
bboreham committed Mar 6, 2024
1 parent fa71e6a commit 4199f18
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/http_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit 4199f18

Please sign in to comment.