aboutsummaryrefslogtreecommitdiff
path: root/weed/operation
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-04-28 22:28:05 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-04-28 22:28:05 +0500
commitc2269123d3e8de2ea659a87712cc44dcdc4b636b (patch)
tree7bec937b097db3aa7412bf048e347b0ff41ee5f5 /weed/operation
parentccbe02218a5cb22fed0fb620ea392180c9155acd (diff)
downloadseaweedfs-c2269123d3e8de2ea659a87712cc44dcdc4b636b.tar.xz
seaweedfs-c2269123d3e8de2ea659a87712cc44dcdc4b636b.zip
fix aws style Etag for chunks
Diffstat (limited to 'weed/operation')
-rw-r--r--weed/operation/upload_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go
index 944186eeb..8e7c6f733 100644
--- a/weed/operation/upload_content.go
+++ b/weed/operation/upload_content.go
@@ -39,7 +39,7 @@ func (uploadResult *UploadResult) ToPbFileChunk(fileId string, offset int64) *fi
Offset: offset,
Size: uint64(uploadResult.Size),
Mtime: time.Now().UnixNano(),
- ETag: uploadResult.ETag,
+ ETag: uploadResult.ContentMd5,
CipherKey: uploadResult.CipherKey,
IsCompressed: uploadResult.Gzip > 0,
Fid: fid,