File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1737,7 +1737,8 @@ static int flush_callback_metadata_check(struct flb_ml_parser *parser,
17371737 /* Track metadata */
17381738 if (has_stream && has_file ) {
17391739 res -> records_with_full_metadata ++ ;
1740- } else {
1740+ }
1741+ else {
17411742 res -> records_missing_metadata ++ ;
17421743 fprintf (stdout , " WARNING: Record %d missing metadata (stream=%d, file=%d)\n" ,
17431744 res -> current_record , has_stream , has_file );
@@ -2056,7 +2057,8 @@ static void test_issue_truncation_10576()
20562057 if (strcmp (res .record_streams [1 ], "stderr" ) == 0 &&
20572058 strcmp (res .record_files [1 ], "/var/log/app2.log" ) == 0 ) {
20582059 fprintf (stdout , "\nPASS: Second record has its own metadata!\n" );
2059- } else {
2060+ }
2061+ else {
20602062 fprintf (stdout , "\nFAIL: Second record inherited metadata from first group!\n" );
20612063 }
20622064
You can’t perform that action at this time.
0 commit comments