mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-08 22:33:22 +00:00
refactor(ecstore): DiskAPI::read_all use Bytes
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user