Skip to content

Commit 0ed5a4f

Browse files
chrislusfmartyanov
authored andcommittedSep 19, 2022
mount: fix 0 file size in linux
1 parent c9e8398 commit 0ed5a4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎weed/filer/entry.go

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func FromPbEntryToExistingEntry(message *filer_pb.Entry, fsEntry *Entry) {
104104
fsEntry.Content = message.Content
105105
fsEntry.Remote = message.RemoteEntry
106106
fsEntry.Quota = message.Quota
107+
fsEntry.FileSize = FileSize(message)
107108
}
108109

109110
func (entry *Entry) ToProtoFullEntry() *filer_pb.FullEntry {

0 commit comments

Comments
 (0)
Please sign in to comment.