We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c4458 commit f390937Copy full SHA for f390937
plugins/out_es/es.c
@@ -1088,10 +1088,6 @@ static int elasticsearch_response_test(struct flb_config *config,
1088
flb_plg_warn(ctx->ins, "http_do=%i URI=%s", ret, ec->uri);
1089
goto error;
1090
}
1091
- if (ret != 0) {
1092
- flb_plg_warn(ctx->ins, "http_do=%i URI=%s", ret, ec->uri);
1093
- goto error;
1094
- }
1095
else {
1096
/* The request was issued successfully, validate the 'error' field */
1097
flb_plg_debug(ctx->ins, "HTTP Status=%i URI=%s", c->resp.status, ec->uri);
0 commit comments