Skip to content

Commit

Permalink
in_elastic: in_elasticsearch_bulk_prot: Fix string in http response c…
Browse files Browse the repository at this point in the history
…ode 400.

Signed-off-by: lecaros <[email protected]>
  • Loading branch information
lecaros committed Jun 18, 2024
1 parent 9009497 commit 6b1543b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_elasticsearch/in_elasticsearch_bulk_prot.c
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ static int send_response_ng(struct flb_http_response *response,
flb_http_response_set_message(response, "No Content");
}
else if (http_status == 400) {
flb_http_response_set_message(response, "Forbidden");
flb_http_response_set_message(response, "Bad Request");
}

if (content_type != NULL) {
Expand Down

0 comments on commit 6b1543b

Please sign in to comment.