mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 02:33:15 +00:00
fix(ecstore): surface prefix listing storage errors (#2940)
This commit is contained in:
@@ -1283,6 +1283,7 @@ impl LocalDisk {
|
||||
Err(e) => {
|
||||
if e != DiskError::VolumeNotFound && e != Error::FileNotFound {
|
||||
error!("scan list_dir {}, err {:?}", ¤t, &e);
|
||||
return Err(e);
|
||||
}
|
||||
|
||||
if opts.report_notfound && e == Error::FileNotFound && current == opts.base_dir {
|
||||
|
||||
Reference in New Issue
Block a user