fixed mismatching types
This commit is contained in:
@@ -375,7 +375,7 @@ impl MetricsCollector {
|
||||
0.0
|
||||
};
|
||||
|
||||
let avg_temp = if count > 0 { temp / count as f64 } else { 0.0 };
|
||||
let avg_temp = if count > 0 { temp / count as f32 } else { 0.0 };
|
||||
|
||||
(size_gb, usage, avg_temp)
|
||||
};
|
||||
|
Reference in New Issue
Block a user