mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-09 14:49:25 +00:00
fix remote err && lock err
Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
@@ -1561,7 +1561,7 @@ impl Reader for RemoteFileReader {
|
||||
path: self.path.to_string(),
|
||||
offset: offset.try_into().unwrap(),
|
||||
// length: length.try_into().unwrap(),
|
||||
length: 0,
|
||||
length: buf.len().try_into().unwrap(),
|
||||
};
|
||||
self.tx.send(request).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user