Managed VM users should depend on http.DefaultTransport by default.

This commit is contained in:
Burcu Dogan
2014-08-31 15:36:50 -07:00
parent 6bb0a5207a
commit 32b45383ad
5 changed files with 23 additions and 24 deletions

View File

@@ -37,12 +37,12 @@ type metaTokenRespBody struct {
// ComputeEngineConfig represents a OAuth 2.0 consumer client
// running on Google Compute Engine.
type ComputeEngineConfig struct {
// Client is the default HTTP client to be used while retrieving
// Client is the HTTP client to be used to retrieve
// tokens from the OAuth 2.0 provider.
Client *http.Client
// Transport represents the default round tripper to be used
// while constructing new oauth2.Transport instances from
// Transport is the round tripper to be used
// to construct new oauth2.Transport instances from
// this configuration.
Transport http.RoundTripper