This commit is contained in:
Chris Lu
2020-03-28 13:42:35 -07:00
parent eedd33dda3
commit 4aa82c95e6
2 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ type ChunkView struct {
LogicOffset int64
IsFullChunk bool
CipherKey []byte
isGzipped bool
IsGzipped bool
}
func ViewFromChunks(chunks []*filer_pb.FileChunk, offset int64, size int64) (views []*ChunkView) {
@@ -105,7 +105,7 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int
LogicOffset: offset,
IsFullChunk: isFullChunk,
CipherKey: chunk.cipherKey,
isGzipped: chunk.isGzipped,
IsGzipped: chunk.isGzipped,
})
offset = min(chunk.stop, stop)
}