Browse Source

filer: append operation returns final file size

pull/1759/head
Chris Lu 4 years ago
parent
commit
f8dbb03bdd
  1. 2
      weed/server/filer_server_handlers_write_autochunk.go

2
weed/server/filer_server_handlers_write_autochunk.go

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

Loading…
Cancel
Save