all stats are sync now

This commit is contained in:
Robin Appelman 2021-03-28 22:33:01 +02:00
commit 289161fc6f
3 changed files with 2 additions and 5 deletions

View file

@ -7,7 +7,7 @@ use crate::zfs::pools;
use color_eyre::Result;
use std::fmt::Write;
pub async fn get_metrics() -> Result<String> {
pub fn get_metrics() -> Result<String> {
let disk_usage = disk_usage()?;
let disks = disk_stats()?;
let cpu = cpu_time()?;