fix: try fix errors
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / Code coverage report (pull_request) Has been cancelled
CI Workflow / Test readiness for publishing provider (pull_request) Has been cancelled
CI Workflow / CI run build and linting (pull_request) Has been cancelled
CI Workflow / CI run tests (pull_request) Has been cancelled
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / Code coverage report (pull_request) Has been cancelled
CI Workflow / Test readiness for publishing provider (pull_request) Has been cancelled
CI Workflow / CI run build and linting (pull_request) Has been cancelled
CI Workflow / CI run tests (pull_request) Has been cancelled
This commit is contained in:
parent
1451273760
commit
f83fe3b30b
10 changed files with 137 additions and 243 deletions
|
|
@ -489,17 +489,18 @@ func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest,
|
|||
return
|
||||
}
|
||||
|
||||
roundTripper := core.NewRetryRoundTripper(
|
||||
baseRoundTripper,
|
||||
maxRetries,
|
||||
initialDelay,
|
||||
maxDelay,
|
||||
perTryTimeout,
|
||||
)
|
||||
//roundTripper := core.NewRetryRoundTripper(
|
||||
// baseRoundTripper,
|
||||
// maxRetries,
|
||||
// initialDelay,
|
||||
// maxDelay,
|
||||
// perTryTimeout,
|
||||
//)
|
||||
|
||||
// Make round tripper and custom endpoints available during DataSource and Resource
|
||||
// type Configure methods.
|
||||
providerData.RoundTripper = roundTripper
|
||||
// providerData.RoundTripper = roundTripper
|
||||
providerData.RoundTripper = baseRoundTripper
|
||||
resp.DataSourceData = providerData
|
||||
resp.ResourceData = providerData
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue