fix naming consistency

This commit is contained in:
csehviktor
2025-07-03 06:26:25 +02:00
parent b527e7f0dd
commit d44ae76243
3 changed files with 18 additions and 18 deletions

View File

@@ -1,13 +1,13 @@
use common::metrics::{Disk, Memory, Metrics, Network, SystemInfo, CPU};
use sysinfo::{Disks, Networks, System};
use crate::cpu::CpuStatReader;
use crate::cpu::CPUStatReader;
pub struct Collector {
sys: System,
disks: Disks,
networks: Networks,
cpu_reader: CpuStatReader,
cpu_reader: CPUStatReader,
}
impl Collector {
@@ -16,7 +16,7 @@ impl Collector {
sys: System::new_all(),
disks: Disks::new_with_refreshed_list(),
networks: Networks::new_with_refreshed_list(),
cpu_reader: CpuStatReader::new(),
cpu_reader: CPUStatReader::new(),
}
}