Correcting an error in CallGet()
This commit is contained in:
parent
a9c82bd261
commit
2d517cc594
@ -82,10 +82,6 @@ func (caller *HTTPCaller) CallGet(url string, subpath string, types ...string) (
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
err = caller.StoreResp(resp)
|
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
return caller.LastResults["body"].([]byte), nil
|
return caller.LastResults["body"].([]byte), nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user