go mod vendor

This commit is contained in:
Brian Kassouf 2021-03-03 15:07:58 -08:00
parent 4ef8d66318
commit 3bb29e0584
1 changed files with 2 additions and 3 deletions

View File

@ -149,6 +149,8 @@ func DefaultConfig() *Config {
Address: "https://127.0.0.1:8200",
HttpClient: cleanhttp.DefaultPooledClient(),
Timeout: time.Second * 60,
MaxRetries: 2,
Backoff: retryablehttp.LinearJitterBackoff,
}
transport := config.HttpClient.Transport.(*http.Transport)
@ -178,9 +180,6 @@ func DefaultConfig() *Config {
return http.ErrUseLastResponse
}
config.Backoff = retryablehttp.LinearJitterBackoff
config.MaxRetries = 2
return config
}