mirror of https://github.com/perkeep/perkeep.git
client: correct case of SetHTTPClient
This commit is contained in:
parent
9b35026497
commit
281a6c40f4
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue