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 f854deb commit 91d9b05Copy full SHA for 91d9b05
plugins/out_es/es.c
@@ -1085,10 +1085,6 @@ static int elasticsearch_response_test(struct flb_config *config,
1085
flb_plg_warn(ctx->ins, "http_do=%i URI=%s", ret, ec->uri);
1086
goto error;
1087
}
1088
- if (ret != 0) {
1089
- flb_plg_warn(ctx->ins, "http_do=%i URI=%s", ret, ec->uri);
1090
- goto error;
1091
- }
1092
else {
1093
/* The request was issued successfully, validate the 'error' field */
1094
flb_plg_debug(ctx->ins, "HTTP Status=%i URI=%s", c->resp.status, ec->uri);
0 commit comments