aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filechunks.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2/filechunks.go')
-rw-r--r--weed/filer2/filechunks.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go
index 4c972e14f..0c93c389b 100644
--- a/weed/filer2/filechunks.go
+++ b/weed/filer2/filechunks.go
@@ -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)
}