aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2')
-rw-r--r--weed/filer2/reader_at.go2
-rw-r--r--weed/filer2/stream.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer2/reader_at.go b/weed/filer2/reader_at.go
index a9772da5b..53fff7672 100644
--- a/weed/filer2/reader_at.go
+++ b/weed/filer2/reader_at.go
@@ -59,7 +59,7 @@ func LookupFn(filerClient filer_pb.FilerClient) LookupFileIdFunctionType {
func NewChunkReaderAtFromClient(filerClient filer_pb.FilerClient, chunkViews []*ChunkView, chunkCache *chunk_cache.ChunkCache) *ChunkReadAt {
return &ChunkReadAt{
- chunkViews: chunkViews,
+ chunkViews: chunkViews,
lookupFileId: LookupFn(filerClient),
bufferOffset: -1,
chunkCache: chunkCache,
diff --git a/weed/filer2/stream.go b/weed/filer2/stream.go
index 4c8213b07..033a8dd13 100644
--- a/weed/filer2/stream.go
+++ b/weed/filer2/stream.go
@@ -103,7 +103,7 @@ func NewChunkStreamReader(filerClient filer_pb.FilerClient, chunks []*filer_pb.F
chunkViews := ViewFromChunks(chunks, 0, math.MaxInt32)
return &ChunkStreamReader{
- chunkViews: chunkViews,
+ chunkViews: chunkViews,
lookupFileId: LookupFn(filerClient),
}
}