diff --git a/testutil/request/request.go b/testutil/request/request.go index d5f559c6663709ebff17c4d3cf199434bc57c649..06d0864855bb791bdb4351d55bd1589f339e297a 100644 --- a/testutil/request/request.go +++ b/testutil/request/request.go @@ -86,11 +86,11 @@ func Do(endpoint string, modifiers ...func(*Options)) (*http.Response, io.ReadCl if err != nil { return nil, nil, err } - client, err := newHTTPClient(opts.host) + httpClient, err := newHTTPClient(opts.host) if err != nil { return nil, nil, err } - resp, err := client.Do(req) + resp, err := httpClient.Do(req) var body io.ReadCloser if resp != nil { body = ioutils.NewReadCloserWrapper(resp.Body, func() error {