Skip to content

Commit ea9415f

Browse files
Leonardo Alminanaedsiper
authored andcommitted
filter_rewrite_tag: updated filter parent property references
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent fcd2d1b commit ea9415f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/filter_rewrite_tag/rewrite_tag.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ static int ingest_inline(struct flb_rewrite_tag *ctx,
318318
struct flb_processor *processor;
319319
int result;
320320

321-
if (ctx->ins->parent != NULL) {
322-
processor_unit = (struct flb_processor_unit *) ctx->ins->parent;
321+
if (ctx->ins->parent_processor != NULL) {
322+
processor_unit = (struct flb_processor_unit *) \
323+
ctx->ins->parent_processor;
323324
processor = (struct flb_processor *) processor_unit->parent;
324325
input_instance = (struct flb_input_instance *) processor->data;
325326

0 commit comments

Comments
 (0)