Merge pull request #16509 from hashicorp/jbardin/get-providers
Use pooled http client for fetching providers
This commit is contained in:
commit
0265b1c0fe
|
@ -33,7 +33,7 @@ const protocolVersionHeader = "x-terraform-protocol-version"
|
|||
|
||||
var releaseHost = "https://releases.hashicorp.com"
|
||||
|
||||
var httpClient = cleanhttp.DefaultClient()
|
||||
var httpClient = cleanhttp.DefaultPooledClient()
|
||||
|
||||
// An Installer maintains a local cache of plugins by downloading plugins
|
||||
// from an online repository.
|
||||
|
|
Loading…
Reference in New Issue