Skip to content

Commit

Permalink
Fix httpjson panic for nil request body
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Dec 21, 2015
1 parent 8b54c73 commit 069cb97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/httpjson/httpjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func (h *HttpJson) sendRequest(serverURL string) (string, error) {
if err != nil {
return "", err
}
defer req.Body.Close()

resp, err := h.client.MakeRequest(req)
if err != nil {
Expand Down

0 comments on commit 069cb97

Please sign in to comment.