mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
04439595ab
Newer versions of the retryablehttp package use a context, so we need to add that in our custom `CheckRetry` function. In addition I removed the `return true, nil` to continue retrying in case of an error, and instead directly call the `DefaultRetryPolicy`. This is because the `DefaultRetryPolicy` will now also take the context into consideration. |
||
---|---|---|
.. | ||
cloud.google.com/go | ||
github.com | ||
go.opencensus.io | ||
golang.org/x | ||
google.golang.org | ||
gopkg.in/yaml.v2 | ||
modules.txt |