diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-08-16 01:35:52 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-08-16 01:35:52 -0700 |
| commit | 8c9e6eaacd8e5712458c0f43617d896ea9b1b411 (patch) | |
| tree | ae0a8ac168238b732916acfddf21fc84c0df6b3a /weed/filer2/filechunks.go | |
| parent | b71df82292767ef5276fa991715af23de6f1643c (diff) | |
| download | seaweedfs-8c9e6eaacd8e5712458c0f43617d896ea9b1b411.tar.xz seaweedfs-8c9e6eaacd8e5712458c0f43617d896ea9b1b411.zip | |
fix tests
Diffstat (limited to 'weed/filer2/filechunks.go')
| -rw-r--r-- | weed/filer2/filechunks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go index 1d546bad0..5d1d5fbe7 100644 --- a/weed/filer2/filechunks.go +++ b/weed/filer2/filechunks.go @@ -143,7 +143,7 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int FileId: chunk.fileId, Offset: chunkStart-chunk.start, Size: uint64(chunkStop - chunkStart), - LogicOffset: chunk.start, + LogicOffset: chunkStart, ChunkSize: chunk.chunkSize, CipherKey: chunk.cipherKey, IsGzipped: chunk.isGzipped, |
