mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix compilation
This commit is contained in:
parent
4a77f0820a
commit
6111b265e7
|
@ -7,7 +7,6 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
|
||||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -140,7 +139,7 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int
|
||||||
if chunkStart < chunkStop {
|
if chunkStart < chunkStop {
|
||||||
views = append(views, &ChunkView{
|
views = append(views, &ChunkView{
|
||||||
FileId: chunk.fileId,
|
FileId: chunk.fileId,
|
||||||
Offset: chunkStart-chunk.start,
|
Offset: chunkStart - chunk.start,
|
||||||
Size: uint64(chunkStop - chunkStart),
|
Size: uint64(chunkStop - chunkStart),
|
||||||
LogicOffset: chunkStart,
|
LogicOffset: chunkStart,
|
||||||
ChunkSize: chunk.chunkSize,
|
ChunkSize: chunk.chunkSize,
|
||||||
|
|
Loading…
Reference in a new issue