Skip to content

Commit

Permalink
processor_content_modifier: fix cb_processor_logs callback arguments …
Browse files Browse the repository at this point in the history
…type.

Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan authored and edsiper committed Mar 12, 2024
1 parent efa1e89 commit 77e50a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/processor_content_modifier/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ static int cb_exit(struct flb_processor_instance *ins)
}

static int cb_process_logs(struct flb_processor_instance *ins,
struct flb_mp_chunk_cobj *chunk_cobj,
void *chunk,
const char *tag,
int tag_len)
{
int ret;
struct content_modifier_ctx *ctx;
struct flb_mp_chunk_cobj *chunk_cobj = (struct flb_mp_chunk_cobj *)chunk;

if (!ins->context) {
return FLB_PROCESSOR_FAILURE;
Expand Down

0 comments on commit 77e50a2

Please sign in to comment.