diff --git a/src/run/check_system.rs b/src/run/check_system.rs index 67834f3..ffd182b 100644 --- a/src/run/check_system.rs +++ b/src/run/check_system.rs @@ -41,7 +41,7 @@ impl SystemInfo { } impl SystemInfo { - fn create() -> Result { + fn new() -> Result { let os = System::name().ok_or(anyhow!("Failed to get OS name"))?; let os_version = System::os_version().ok_or(anyhow!("Failed to get OS version"))?; let arch = System::cpu_arch().ok_or(anyhow!("Failed to get CPU architecture"))?; @@ -66,7 +66,7 @@ impl SystemInfo { /// - Debian 11 on x86_64 /// - Debian 12 on x86_64 pub fn check_system() -> Result { - let system_info = SystemInfo::create()?; + let system_info = SystemInfo::new()?; debug!("System info: {:#?}", system_info); match (system_info.os.as_str(), system_info.os_version.as_str()) {