mirror of
https://github.com/minio/minio.git
synced 2025-03-30 09:13:41 -04:00
parent
2665aba555
commit
b288eaddb3
@ -287,7 +287,7 @@ func (xl xlObjects) GetObject(bucket, object string, startOffset int64, length i
|
|||||||
// Set checksum algo only once, while it is possible to have
|
// Set checksum algo only once, while it is possible to have
|
||||||
// different algos per block because of our `xl.json`.
|
// different algos per block because of our `xl.json`.
|
||||||
// It is not a requirement, set this only once for all the disks.
|
// It is not a requirement, set this only once for all the disks.
|
||||||
if ckSumAlgo != "" {
|
if ckSumAlgo == "" {
|
||||||
ckSumAlgo = ckSumInfo.Algorithm
|
ckSumAlgo = ckSumInfo.Algorithm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user