mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 15:46:53 +00:00
Update ecstore/src/disk/local.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -396,7 +396,10 @@ impl LocalDisk {
|
|||||||
ErrorKind::NotFound => (),
|
ErrorKind::NotFound => (),
|
||||||
_ => {
|
_ => {
|
||||||
warn!("delete_file remove_file {:?} err {:?}", &delete_path, &err);
|
warn!("delete_file remove_file {:?} err {:?}", &delete_path, &err);
|
||||||
return Err(Error::new(DiskError::FileAccessDenied));
|
return Err(Error::new(FileAccessDeniedWithContext {
|
||||||
|
path: delete_path.clone(),
|
||||||
|
source: err,
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user