From 84f6d302f563fea0cfcb45ba656c3c2ab947255c Mon Sep 17 00:00:00 2001 From: Takahiro Yamashita Date: Sat, 15 Oct 2022 07:19:35 +0900 Subject: [PATCH] filter_record_modifier: fix ignoring whitelist_keys (#6200) Signed-off-by: Takahiro Yamashita --- plugins/filter_record_modifier/filter_modifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/filter_record_modifier/filter_modifier.c b/plugins/filter_record_modifier/filter_modifier.c index 078e118bc5e..779018fbb6e 100644 --- a/plugins/filter_record_modifier/filter_modifier.c +++ b/plugins/filter_record_modifier/filter_modifier.c @@ -43,7 +43,7 @@ static int config_allowlist_key(struct record_modifier_ctx *ctx, return -1; } - flb_config_map_foreach(head, mv, ctx->allowlist_keys_map) { + flb_config_map_foreach(head, mv, list) { mod_key = flb_malloc(sizeof(struct modifier_key)); if (!mod_key) { flb_errno();