Fix merge mistake no biggie
This commit is contained in:
parent
5505a33557
commit
09e2dc0eb2
@ -57,7 +57,7 @@ func (p Proxy) execute(c command) (string, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", errors.New(fmt.Sprintf("error making http request: %s\n", err))
|
return "", errors.New(fmt.Sprintf("error making http request: %s\n", err))
|
||||||
}
|
}
|
||||||
body, err := ioutil.ReadAll(res.Body)
|
body, err := io.ReadAll(res.Body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", errors.New(fmt.Sprintf("error reading response: %s\n", err))
|
return "", errors.New(fmt.Sprintf("error reading response: %s\n", err))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user