Yandex Disk: Use http.Client passed in for all operations - fixes logging.

This commit is contained in:
Nick Craig-Wood
2016-02-15 16:43:18 +00:00
parent c2e8f06bfa
commit b1dd8e998b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func (c *Client) PerformDownload(url string) (out io.ReadCloser, err error) {
//c.setRequestScope(req)
resp, err := http.DefaultClient.Do(req)
resp, err := c.HTTPClient.Do(req)
if err != nil {
return nil, err
}