Skip to content

Commit d01e241

Browse files
cosmo0920edsiper
authored andcommitted
config: Use bool type to handle On and True as FLB_TRUE
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 7d84457 commit d01e241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ struct flb_service_config service_configs[] = {
179179

180180
/* Escape UNicode inside of JSON */
181181
{FLB_CONF_UNICODE_STR_JSON_ESCAPE,
182-
FLB_CONF_TYPE_INT,
182+
FLB_CONF_TYPE_BOOL,
183183
offsetof(struct flb_config, json_escape_unicode)},
184184

185185
#ifdef FLB_HAVE_STREAM_PROCESSOR

0 commit comments

Comments
 (0)