From cef786bfe2a91f6a39f77c574b57aaa78bf87a02 Mon Sep 17 00:00:00 2001 From: weisd Date: Tue, 3 Dec 2024 11:12:57 +0800 Subject: [PATCH] fix bug --- ecstore/src/utils/os/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecstore/src/utils/os/unix.rs b/ecstore/src/utils/os/unix.rs index cf9f414f..17ccd06f 100644 --- a/ecstore/src/utils/os/unix.rs +++ b/ecstore/src/utils/os/unix.rs @@ -78,5 +78,5 @@ pub fn same_disk(disk1: &str, disk2: &str) -> Result { } pub fn get_drive_stats(major: u32, minor: u32) -> Result { - IOStats::default() + Ok(IOStats::default()) }