Skip to content

Commit

Permalink
tests: internal: multiline: fix prototype params
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jun 5, 2021
1 parent 687b08f commit 03f3339
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/internal/multiline.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ static void test_mode_java()
mst = flb_ml_stream_create(ml, "java", flush_callback, (void *) &res);
TEST_CHECK(mst != NULL);


entries = sizeof(java_input) / sizeof(struct record_check);
for (i = 0; i < entries; i++) {
r = &java_input[i];
Expand Down Expand Up @@ -583,14 +582,16 @@ static void test_mode_elastic()
config = flb_config_init();

ml = flb_ml_create(config,
"test", /* name */
FLB_ML_REGEX, /* type */
NULL, /* match_str */
FLB_FALSE, /* negate */
1000, /* flush_ms */
"log", /* key_content */
NULL, /* key_pattern */
NULL, /* key_group */
NULL); /* parser */
NULL, /* parser ctx */
NULL); /* parser name */

ret = flb_ml_rule_create(ml, "start_state", "/^\\[/", "elastic_cont", NULL);
if (ret != 0) {
Expand Down

0 comments on commit 03f3339

Please sign in to comment.