Skip to content

Commit

Permalink
Merge pull request #16509 from hashicorp/jbardin/get-providers
Browse files Browse the repository at this point in the history
Use pooled http client for fetching providers
  • Loading branch information
jbardin authored Oct 31, 2017
2 parents 586255f + 6cb4e14 commit 0265b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/discovery/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0265b1c

Please sign in to comment.