mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 19:16:17 +00:00
refactor(ecstore): DiskAPI::read_all use Bytes
This commit is contained in:
@@ -256,7 +256,7 @@ pub async fn load_format_erasure(disk: &DiskStore, heal: bool) -> disk::error::R
|
||||
_ => e,
|
||||
})?;
|
||||
|
||||
let mut fm = FormatV3::try_from(data.as_slice())?;
|
||||
let mut fm = FormatV3::try_from(data.as_ref())?;
|
||||
|
||||
if heal {
|
||||
let info = disk
|
||||
|
||||
Reference in New Issue
Block a user