Skip to content

Commit

Permalink
config: yaml: fix support for processors.
Browse files Browse the repository at this point in the history
a minor typo was incorrectly constructing the properties for processors.

Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Apr 2, 2024
1 parent 4196714 commit 43dd774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config_format/flb_cf_yaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@ static enum status state_copy_into_config_group(struct parser_state *state, stru
return YAML_FAILURE;
}

if (cfl_array_append(arr, var) < 0) {
if (cfl_array_append(carr, var) < 0) {
cfl_array_destroy(arr);
flb_error("unable to append value to array");
return YAML_FAILURE;
}
Expand Down

0 comments on commit 43dd774

Please sign in to comment.