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. |
||
---|---|---|
.. | ||
backend.go | ||
backend_test.go | ||
cli.go | ||
state_client.go | ||
state_client_test.go |