Code formatting
This commit is contained in:
parent
b44bb059a1
commit
d2e159d767
8
goes.go
8
goes.go
@ -357,10 +357,10 @@ func (req *Request) Run() (*Response, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return esResp, err
|
return esResp, err
|
||||||
}
|
}
|
||||||
err = json.Unmarshal(body, &esResp.Raw)
|
err = json.Unmarshal(body, &esResp.Raw)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return esResp, err
|
return esResp, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.api == "_bulk" && esResp.Errors {
|
if req.api == "_bulk" && esResp.Errors {
|
||||||
|
Loading…
Reference in New Issue
Block a user