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 {
|
||||
return esResp, err
|
||||
}
|
||||
err = json.Unmarshal(body, &esResp.Raw)
|
||||
if err != nil {
|
||||
return esResp, err
|
||||
}
|
||||
err = json.Unmarshal(body, &esResp.Raw)
|
||||
if err != nil {
|
||||
return esResp, err
|
||||
}
|
||||
}
|
||||
|
||||
if req.api == "_bulk" && esResp.Errors {
|
||||
|
Loading…
Reference in New Issue
Block a user