Change to fix logging

This commit is contained in:
ravisantoshgudimetla 2018-03-05 11:15:33 -05:00
parent c444954d9c
commit 1c416b1c39

View File

@ -254,7 +254,7 @@ func (h *HTTPExtender) send(action string, args interface{}, result interface{})
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
return fmt.Errorf("Failed %v with extender at URL %v, code %v", action, h.extenderURL, resp.StatusCode)
return fmt.Errorf("Failed %v with extender at URL %v, code %v", action, url, resp.StatusCode)
}
return json.NewDecoder(resp.Body).Decode(result)