From 480babc0af6c721bf23ebabdc6ed0162ba601ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E5=B0=8F=E9=B8=AD?= Date: Tue, 2 Jun 2026 13:09:57 +0800 Subject: [PATCH] fix: window error (#3167) fix window error --- crates/ecstore/src/endpoints.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ecstore/src/endpoints.rs b/crates/ecstore/src/endpoints.rs index 44f842485..63a45b7d2 100644 --- a/crates/ecstore/src/endpoints.rs +++ b/crates/ecstore/src/endpoints.rs @@ -683,6 +683,7 @@ fn validate_local_physical_disk_independence(pools: &[Endpoints]) -> Result<()> } let mut device_paths = BTreeMap::>::new(); + #[cfg(not(windows))] let mut missing_paths = Vec::new(); for path in &local_paths { @@ -739,6 +740,7 @@ fn validate_local_physical_disk_independence(pools: &[Endpoints]) -> Result<()> } } + #[cfg(not(windows))] if !missing_paths.is_empty() { warn!( missing_paths = ?missing_paths,