diff options
Diffstat (limited to 'clients/http')
-rw-r--r-- | clients/http/common.go | 1 | ||||
-rw-r--r-- | clients/http/git_upload_pack.go | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/clients/http/common.go b/clients/http/common.go index fc3a236..f0f2e6b 100644 --- a/clients/http/common.go +++ b/clients/http/common.go @@ -6,6 +6,7 @@ import ( "net/http" "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v2/core" ) diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go index 217e4aa..2d38d42 100644 --- a/clients/http/git_upload_pack.go +++ b/clients/http/git_upload_pack.go @@ -85,7 +85,6 @@ func (s *GitUploadPackService) doRequest(method, url string, content *strings.Re s.applyAuthToRequest(req) res, err := s.Client.Do(req) - if err != nil { return nil, core.NewUnexpectedError(err) } |