filer: append operation returns final file size

This commit is contained in:
Chris Lu 2021-01-23 04:19:49 -08:00
parent 759482e2ac
commit f8dbb03bdd

View File

@ -204,7 +204,7 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa
filerResult = &FilerPostResult{
Name: fileName,
Size: chunkOffset,
Size: int64(entry.FileSize),
}
if entry.Extended == nil {