Fix typo: replace ; with :
This commit replaces a ; with a : in an error message Signed-off-by: Shubham <shubham@linux.com>pull/388/head
parent
3172e907a1
commit
560f9504e1
|
@ -122,7 +122,7 @@ Loop:
|
||||||
if resp.StatusCode != http.StatusOK {
|
if resp.StatusCode != http.StatusOK {
|
||||||
body, err := ioutil.ReadAll(resp.Body)
|
body, err := ioutil.ReadAll(resp.Body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrapf(err, "request failed; unable to decode response body")
|
return errors.Wrapf(err, "request failed: unable to decode response body")
|
||||||
}
|
}
|
||||||
|
|
||||||
return errors.Errorf("request failed: %v", string(body))
|
return errors.Errorf("request failed: %v", string(body))
|
||||||
|
|
Loading…
Reference in New Issue