Skip to content

Commit

Permalink
Add proxy configuration to the transport
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmgeek authored and AlekSi committed Jun 1, 2020
1 parent 8be3972 commit 81809c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func newTransport() *transport {
t: &http.Transport{
MaxIdleConnsPerHost: 5,
IdleConnTimeout: 2 * time.Minute,
Proxy: http.ProxyFromEnvironment,
},
l: log.With("component", "transport"),

Expand Down

0 comments on commit 81809c7

Please sign in to comment.