Add comment to workaround while waiting for upstream to merge PR.
[arvados.git] / sdk / go / arvados / client.go
index 991de1caa90c4e2e98b96015415ebecb44525af8..7bc3d5bc420404559939247b04cb4b7849c620d6 100644 (file)
@@ -307,6 +307,11 @@ func (c *Client) Do(req *http.Request) (*http.Response, error) {
                if c.Timeout == 0 {
                        return false, nil
                }
+               // This check can be removed when
+               // https://github.com/hashicorp/go-retryablehttp/pull/210
+               // (or equivalent) is merged and we update go.mod.
+               // Until then, it is needed to pass
+               // TestNonRetryableStdlibError.
                if respErr != nil && reqErrorRe.MatchString(respErr.Error()) {
                        return false, nil
                }