Skip to content

Commit

Permalink
Revert "*: use watchdogConn also for paginated requests"
Browse files Browse the repository at this point in the history
This reverts commit a71d8bf.
  • Loading branch information
aktau committed Apr 7, 2017
1 parent a71d8bf commit 27cc45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c Client) getPaginated(uri string) (io.ReadCloser, error) {
return // We're done.
}

resp, err := client.Get(URL)
resp, err := http.Get(URL)
links = linkheader.Parse(resp.Header.Get("Link"))
if err != nil {
w.CloseWithError(err)
Expand Down

0 comments on commit 27cc45a

Please sign in to comment.