From c9d99fd98c9871804855e103622ba9ce1b74f90c Mon Sep 17 00:00:00 2001 From: Roman Shchekin Date: Thu, 28 Nov 2024 20:33:55 +0300 Subject: [PATCH] Fixing bug in flb_plugin.c: key -> value Signed-off-by: Roman Shchekin --- src/flb_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flb_plugin.c b/src/flb_plugin.c index 7e259f67711..8eedbc02b27 100644 --- a/src/flb_plugin.c +++ b/src/flb_plugin.c @@ -369,7 +369,7 @@ int flb_plugin_load_config_format(struct flb_cf *cf, struct flb_config *config) entry = cfl_list_entry(head_e, struct cfl_kvpair, _head); /* Load plugin with router function */ - ret = flb_plugin_load_router(entry->key, config); + ret = flb_plugin_load_router(entry->val->data.as_string, config); if (ret == -1) { flb_cf_destroy(cf); return -1;