mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
fix error count
This commit is contained in:
parent
4737a0db3c
commit
d04da3b11d
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ fn main() -> MainResult {
|
|||
|
||||
parsed_lines.push(parsed);
|
||||
}
|
||||
let error_count = log_file.iter().count();
|
||||
let error_count = log_file.iter().count() - parsed_lines.len();
|
||||
|
||||
let mut matched_lines: Vec<(_, _)> = counts.into_iter().collect();
|
||||
matched_lines.sort_by_key(|(_, lines)| lines.len());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue