Skip to content

Commit

Permalink
in_tail: Treat as an error when unsupported encoding is specified
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Oct 7, 2024
1 parent c3334a7 commit f385c65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/in_tail/tail_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ struct flb_tail_config *flb_tail_config_create(struct flb_input_instance *ins,
}
else {
flb_plg_error(ctx->ins, "invalid encoding 'unicode.encoding' value");
flb_free(ctx);
return NULL;
}
}
#endif
Expand Down

0 comments on commit f385c65

Please sign in to comment.