mirror of
https://github.com/minio/minio.git
synced 2026-11-05 08:30:17 +00:00
add ruleguard support, fix all the reported issues (#10335)
This commit is contained in:
1 parent
bc2ebe0021
commit
caad314faa
46 files changed
+803
-128
No files matched your search
@@ -666,7 +666,7 @@ func (o *ObjectInfo) GetDecryptedRange(rs *HTTPRangeSpec) (encOff, encLength, sk
|
||||
|
||||
if rs == nil {
|
||||
// No range, so offsets refer to the whole object.
|
||||
return 0, int64(o.Size), 0, 0, 0, nil
|
||||
return 0, o.Size, 0, 0, 0, nil
|
||||
}
|
||||
|
||||
// Assemble slice of (decrypted) part sizes in `sizes`
|
||||
|
||||
Reference in new issue
Block a user