Skip to content

Commit 137395d

Browse files
nokute78edsiper
authored andcommitted
filter_parser: use string as a default value
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent 42b581d commit 137395d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/filter_parser/filter_parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,12 @@ static struct flb_config_map config_map[] = {
367367
"Multiple Parser entries are allowed (one per line)."
368368
},
369369
{
370-
FLB_CONFIG_MAP_BOOL, "Preserve_Key", FLB_FALSE,
370+
FLB_CONFIG_MAP_BOOL, "Preserve_Key", "false",
371371
0, FLB_TRUE, offsetof(struct filter_parser_ctx, preserve_key),
372372
"Keep original Key_Name field in the parsed result. If false, the field will be removed."
373373
},
374374
{
375-
FLB_CONFIG_MAP_BOOL, "Reserve_Data", FLB_FALSE,
375+
FLB_CONFIG_MAP_BOOL, "Reserve_Data", "false",
376376
0, FLB_TRUE, offsetof(struct filter_parser_ctx, reserve_data),
377377
"Keep all other original fields in the parsed result. "
378378
"If false, all other original fields will be removed."

0 commit comments

Comments
 (0)