Skip to content

Commit 000baca

Browse files
committed
Rename post_all_requests to send_all_requests
Signed-off-by: Nicholas Nezis <[email protected]>
1 parent 0be5d30 commit 000baca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/out_http/http.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ static char **extract_headers(msgpack_object *obj) {
529529
return NULL;
530530
}
531531

532-
static int post_all_requests(struct flb_out_http *ctx,
532+
static int send_all_requests(struct flb_out_http *ctx,
533533
const char *data, size_t size,
534534
flb_sds_t body_key,
535535
flb_sds_t headers_key,
@@ -631,11 +631,11 @@ static void cb_http_flush(struct flb_event_chunk *event_chunk,
631631
(void) i_ins;
632632

633633
if (ctx->body_key) {
634-
ret = post_all_requests(ctx, event_chunk->data, event_chunk->size,
634+
ret = send_all_requests(ctx, event_chunk->data, event_chunk->size,
635635
ctx->body_key, ctx->headers_key, event_chunk);
636636
if (ret < 0) {
637637
flb_plg_error(ctx->ins,
638-
"failed to post requests body key \"%s\"", ctx->body_key);
638+
"failed to send requests body key \"%s\"", ctx->body_key);
639639
}
640640
}
641641
else {

0 commit comments

Comments
 (0)