~egtann/retryablehttp

15f02936a31b063f94ff01933966df5f5f6e57bb — Evan Tann 5 months ago 2fefae3
fix line len
1 files changed, 2 insertions(+), 2 deletions(-)

M client.go
M client.go => client.go +2 -2
@@ 111,8 111,8 @@ func (c *Client) Do(req *http.Request) (*http.Response, error) {
		rsp, err = c.retry(ctx, req, header, byt)
		if err != nil {
			if c.log != nil {
				c.log.Printf("failed with err: retry %d: %s %s", i,
					req.Method, safeURL)
				c.log.Printf("failed with err: retry %d: %s %s",
					i, req.Method, safeURL)
			}
			time.Sleep(time.Second * time.Duration(i+1))
			continue