mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
minor
This commit is contained in:
parent
ab30f489c3
commit
14546f0ad8
|
@ -255,7 +255,7 @@ func (v *Volume) readRightNs(m int64) (index int64, offset Offset, ts uint64, er
|
||||||
index++
|
index++
|
||||||
offset, err = v.readOffsetFromIndex(index)
|
offset, err = v.readOffsetFromIndex(index)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fmt.Errorf("read entry %d: %v", index, err)
|
err = fmt.Errorf("read left entry at %d: %v", index, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -271,7 +271,7 @@ func (v *Volume) readLeftNs(m int64) (index int64, offset Offset, ts uint64, err
|
||||||
index--
|
index--
|
||||||
offset, err = v.readOffsetFromIndex(index)
|
offset, err = v.readOffsetFromIndex(index)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fmt.Errorf("read entry %d: %v", index, err)
|
err = fmt.Errorf("read right entry at %d: %v", index, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue