mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
Block a user