refactor(ecstore): DiskAPI::read_all use Bytes

This commit is contained in:
Nugine
2025-06-17 16:22:55 +08:00
parent e520299c4b
commit 39e988537c
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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