From e7d1f183ccf30a705ce36678d1abc91a95e969be Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 16 Oct 2021 23:34:27 -0700 Subject: [PATCH] ensure file id is populated --- weed/filer/filechunks_read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/filechunks_read.go b/weed/filer/filechunks_read.go index b39f6a35c..742f050be 100644 --- a/weed/filer/filechunks_read.go +++ b/weed/filer/filechunks_read.go @@ -100,7 +100,7 @@ func addToVisibles(visibles []VisibleInterval, prevX int64, startPoint *Point, p visibles = append(visibles, VisibleInterval{ start: prevX, stop: point.x, - fileId: chunk.FileId, + fileId: chunk.GetFileIdString(), modifiedTime: chunk.Mtime, chunkOffset: prevX - chunk.Offset, chunkSize: chunk.Size,