aboutsummaryrefslogtreecommitdiff
path: root/weed/operation
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-10-28 12:53:19 -0700
committerchrislu <chris.lu@gmail.com>2022-10-28 12:53:19 -0700
commitea2637734a13a08d11d4f26e80c1324664bf7ffc (patch)
tree6708b9a0d07a0518a6fdf151d59bf3fc46053430 /weed/operation
parent1e0d64c04883a8d7b09677e9721f9e189743e2f3 (diff)
downloadseaweedfs-ea2637734a13a08d11d4f26e80c1324664bf7ffc.tar.xz
seaweedfs-ea2637734a13a08d11d4f26e80c1324664bf7ffc.zip
refactor filer proto chunk variable from mtime to modified_ts_ns
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 c9b15da69..ed38dfa6b 100644
--- a/weed/operation/upload_content.go
+++ b/weed/operation/upload_content.go
@@ -51,7 +51,7 @@ func (uploadResult *UploadResult) ToPbFileChunk(fileId string, offset int64) *fi
FileId: fileId,
Offset: offset,
Size: uint64(uploadResult.Size),
- Mtime: time.Now().UnixNano(),
+ ModifiedTsNs: time.Now().UnixNano(),
ETag: uploadResult.ContentMd5,
CipherKey: uploadResult.CipherKey,
IsCompressed: uploadResult.Gzip > 0,