diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-05-10 03:50:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-05-10 03:50:30 -0700 |
| commit | 39e72fb23ca0d23cc563da50746c7a717bfa01e6 (patch) | |
| tree | e5d4e94cd94f166dcf77ddcb3d332acdd8c916fa /weed/filer2 | |
| parent | 6bf3eb69cb9abd02e1d63ecdee485d198a3cab9a (diff) | |
| download | seaweedfs-39e72fb23ca0d23cc563da50746c7a717bfa01e6.tar.xz seaweedfs-39e72fb23ca0d23cc563da50746c7a717bfa01e6.zip | |
go fmt
Diffstat (limited to 'weed/filer2')
| -rw-r--r-- | weed/filer2/reader_at.go | 2 | ||||
| -rw-r--r-- | weed/filer2/stream.go | 2 |
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), } } |
