Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter_rewrite_tag: set 'keep' before emitting(#4518)
'keep' is set when process_record returns FLB_TRUE. It indicates some records can be dropped. e.g. If first record is not matched regex, 'keep' is not initialized. 'keep' is undefined and it can be different from FLB_TRUE. It causes the first record is lost even if user sets 'KEEP' is true. Signed-off-by: Takahiro Yamashita <[email protected]>
- Loading branch information