Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Aug 11, 2024
1 parent bd94f52 commit 199d95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data_collection/temperature/sysinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use anyhow::Result;

use super::{is_temp_filtered, TempHarvest, TemperatureType};
use super::{TempHarvest, TemperatureType};
use crate::app::filter::Filter;

pub fn get_temperature_data(
Expand All @@ -13,7 +13,7 @@ pub fn get_temperature_data(
for component in components {
let name = component.label().to_string();

if is_temp_filtered(filter, &name) {
if Filter::optional_should_keep(filter, &name) {
temperature_vec.push(TempHarvest {
name,
temperature: Some(temp_type.convert_temp_unit(component.temperature())),
Expand Down

0 comments on commit 199d95e

Please sign in to comment.