fix: node stats updating live (#195)

This commit is contained in:
Maciej Hirsz
2019-11-08 14:12:27 +01:00
committed by GitHub
parent adbd7cb592
commit b69adbb096
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -134,7 +134,6 @@ impl Node {
pub fn update_hardware(&mut self, interval: &SystemInterval) -> bool {
let mut changed = false;
self.stats = interval.stats;
if let Some(cpu) = interval.cpu {
changed |= self.cpu.push(cpu);
}