mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 21:26:28 +00:00
@@ -683,6 +683,7 @@ fn validate_local_physical_disk_independence(pools: &[Endpoints]) -> Result<()>
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mut device_paths = BTreeMap::<String, BTreeSet<String>>::new();
|
let mut device_paths = BTreeMap::<String, BTreeSet<String>>::new();
|
||||||
|
#[cfg(not(windows))]
|
||||||
let mut missing_paths = Vec::new();
|
let mut missing_paths = Vec::new();
|
||||||
|
|
||||||
for path in &local_paths {
|
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() {
|
if !missing_paths.is_empty() {
|
||||||
warn!(
|
warn!(
|
||||||
missing_paths = ?missing_paths,
|
missing_paths = ?missing_paths,
|
||||||
|
|||||||
Reference in New Issue
Block a user