diff --git a/weed/filer/entry.go b/weed/filer/entry.go index eae6624d6..8c28c8513 100644 --- a/weed/filer/entry.go +++ b/weed/filer/entry.go @@ -109,6 +109,7 @@ func FromPbEntryToExistingEntry(message *filer_pb.Entry, fsEntry *Entry) { fsEntry.Content = message.Content fsEntry.Remote = message.RemoteEntry fsEntry.Quota = message.Quota + fsEntry.FileSize = FileSize(message) } func (entry *Entry) ToProtoFullEntry() *filer_pb.FullEntry {