mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
Send length instead of empty buffer for ReadFile() (#6414)
This commit is contained in:
committed by
Harshavardhana
parent
9e32cc283f
commit
81b7e5c7a8
@@ -227,7 +227,7 @@ func (client *StorageRPCClient) ReadFile(volume string, path string, offset int6
|
||||
Vol: volume,
|
||||
Path: path,
|
||||
Offset: offset,
|
||||
Buffer: buffer,
|
||||
Length: int64(len(buffer)),
|
||||
Verified: true, // mark read as verified by default
|
||||
}
|
||||
if verifier != nil {
|
||||
|
||||
Reference in New Issue
Block a user