Skip to content

Commit

Permalink
Fixing bug in flb_plugin.c: key -> value
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Shchekin <[email protected]>
  • Loading branch information
QtRoS authored Nov 28, 2024
1 parent 4acffc2 commit c9d99fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9d99fd

Please sign in to comment.