| Index: common/lhttp/client.go
|
| diff --git a/common/lhttp/client.go b/common/lhttp/client.go
|
| index 2fa3a57dc98d2e160bceeafc958a84bdf3683397..ad6d9c047d0ab58287b10d1d75baeab2396e7a86 100644
|
| --- a/common/lhttp/client.go
|
| +++ b/common/lhttp/client.go
|
| @@ -40,8 +40,8 @@ type RequestGen func() (*http.Request, error)
|
| // returning. It should return retry.Error in case of retriable error, for
|
| // example if a TCP connection is terminated while receiving the content.
|
| //
|
| -// If rFn is nil, NewRequest will use a default exponential backoff strategy only
|
| -// for transient errors.
|
| +// If rFn is nil, NewRequest will use a default exponential backoff strategy
|
| +// only for transient errors.
|
| func NewRequest(ctx context.Context, c *http.Client, rFn retry.Factory, rgen RequestGen, handler Handler) func() (int, error) {
|
| if rFn == nil {
|
| rFn = retry.TransientOnly(retry.Default)
|
|
|