Merge pull request #37 from r--w/master

Code formatting
This commit is contained in:
Jérôme Renard 2015-10-12 10:48:18 +02:00
commit 5d24537714

View File

@ -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 {