mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
This commit is contained in:
@@ -286,8 +286,8 @@ impl ECStore {
|
||||
}
|
||||
|
||||
for disk in disks.iter() {
|
||||
if disk.is_some() && disk.as_ref().unwrap().is_local() {
|
||||
local_disks.push(disk.as_ref().unwrap().clone());
|
||||
if disk.is_some() && disk.as_ref().expect("operation should succeed").is_local() {
|
||||
local_disks.push(disk.as_ref().expect("operation should succeed").clone());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user