aboutsummaryrefslogtreecommitdiff
path: root/weed/replication
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-20 08:15:49 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-20 08:15:49 -0700
commit97239ce6f109448e1f0488db31a84d40837cb168 (patch)
treed032b707fbb1d5a886fcace22ec065004f3109da /weed/replication
parenta735fd767cbda1fa17fd2aeb963707c8b18adc1d (diff)
downloadseaweedfs-97239ce6f109448e1f0488db31a84d40837cb168.tar.xz
seaweedfs-97239ce6f109448e1f0488db31a84d40837cb168.zip
rename filechunk is_gzipped to is_compressed
Diffstat (limited to 'weed/replication')
-rw-r--r--weed/replication/sink/filersink/fetch_write.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.go
index d6474a7f1..bde29176c 100644
--- a/weed/replication/sink/filersink/fetch_write.go
+++ b/weed/replication/sink/filersink/fetch_write.go
@@ -53,7 +53,7 @@ func (fs *FilerSink) replicateOneChunk(sourceChunk *filer_pb.FileChunk, dir stri
ETag: sourceChunk.ETag,
SourceFileId: sourceChunk.GetFileIdString(),
CipherKey: sourceChunk.CipherKey,
- IsGzipped: sourceChunk.IsGzipped,
+ IsCompressed: sourceChunk.IsCompressed,
}, nil
}