Fix regression to log collection not collection .log files

This commit is contained in:
Markus Pettersson committed 2026-10-07 11:55:06 +02:00
1 parent 23a70b4d49
commit 2353a1fff3
1 file changed
+1 -1
+1 -1
View File
@@ -264,7 +264,7 @@ fn list_logs(
let logs = dir_entries.filter_map(move |dir_entry| match dir_entry {
Ok(dir_entry) => {
let path = dir_entry.path();
(path.extension() == Some(OsStr::new(".log"))).then_some(Ok(path))
(path.extension() == Some(OsStr::new("log"))).then_some(Ok(path))
}
Err(source) => Some(Err(LogError::ListLogDir {
path: log_dir.as_ref().display().to_string(),