5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-08-26 09:49:22 +03:00

metric collection: drop std::path prefix where not needed

No functional changes intended.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner
2024-10-15 10:46:31 +02:00
committed by Wolfgang Bumiller
parent da3612fade
commit 98cb8ff86b

View File

@ -179,7 +179,7 @@ fn collect_disk_stats_sync() -> (DiskStat, Vec<DiskStat>) {
{
continue;
}
let path = std::path::Path::new(&config.path);
let path = Path::new(&config.path);
datastores.push(gather_disk_stats(disk_manager.clone(), path, &config.name));
}
}