client: correct case of SetHTTPClient

This commit is contained in:
Brad Fitzpatrick 2012-11-07 21:03:46 -06:00
parent 9b35026497
commit 281a6c40f4
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ func newUploader() *Uploader {
httpStats := &statsTransport{
transport: &http.Transport{DisableKeepAlives: false},
}
cc.SetHttpClient(&http.Client{Transport: httpStats})
cc.SetHTTPClient(&http.Client{Transport: httpStats})
pwd, err := os.Getwd()
if err != nil {

View File

@ -69,7 +69,7 @@ func New(server string) *Client {
}
}
func (c *Client) SetHttpClient(client *http.Client) {
func (c *Client) SetHTTPClient(client *http.Client) {
c.httpClient = client
}