mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-18 12:47:50 +08:00
fix error not being returned
This commit is contained in:
parent
b067853162
commit
b2ee5873fb
@ -158,7 +158,7 @@ func (c *ChunkReadAt) readFromWholeChunkData(chunkView *ChunkView, nextChunkView
|
|||||||
v, doErr := c.readOneWholeChunk(chunkView)
|
v, doErr := c.readOneWholeChunk(chunkView)
|
||||||
|
|
||||||
if doErr != nil {
|
if doErr != nil {
|
||||||
return
|
return nil, doErr
|
||||||
}
|
}
|
||||||
|
|
||||||
chunkData = v.([]byte)
|
chunkData = v.([]byte)
|
||||||
|
Loading…
Reference in New Issue
Block a user