Commit 1c416b1c authored by ravisantoshgudimetla's avatar ravisantoshgudimetla

Change to fix logging

parent c444954d
...@@ -254,7 +254,7 @@ func (h *HTTPExtender) send(action string, args interface{}, result interface{}) ...@@ -254,7 +254,7 @@ func (h *HTTPExtender) send(action string, args interface{}, result interface{})
defer resp.Body.Close() defer resp.Body.Close()
if resp.StatusCode != http.StatusOK { 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) return json.NewDecoder(resp.Body).Decode(result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment