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
@@ -277,7 +277,7 @@ impl Node for NodeService {
match disk.read_all(&request.volume, &request.path).await {
Ok(data) => Ok(tonic::Response::new(ReadAllResponse {
success: true,
data: data.into(),
data,
error: None,
})),
Err(err) => Ok(tonic::Response::new(ReadAllResponse {