mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix typo
This commit is contained in:
parent
7e6146b79a
commit
e43bd00717
@ -230,7 +230,7 @@ impl TimeBuffer {
|
||||
});
|
||||
|
||||
let mut results = results.into_iter().collect::<Vec<(String, (u64, u64))>>();
|
||||
results.sort_by(|a, b| b.2.cmp(&a.2));
|
||||
results.sort_by(|a, b| b.1.1.cmp(&a.1.1));
|
||||
// Keep only the top 10
|
||||
results.truncate(10);
|
||||
results
|
||||
|
Loading…
Reference in New Issue
Block a user