Fix expected size for file uploader.
This commit is contained in:
parent
72019eab50
commit
706a4336c9
@ -90,6 +90,7 @@ Result<FileLoader::FileInfo> FileUploader::init() {
|
||||
LOG(DEBUG) << "Init file uploader for " << remote_ << " with offset = " << offset << " and part size = " << part_size;
|
||||
FileInfo res;
|
||||
res.size = local_size_;
|
||||
res.expected_size = expected_size_;
|
||||
res.is_size_final = local_is_ready_;
|
||||
res.part_size = part_size;
|
||||
res.ready_parts = std::move(parts);
|
||||
|
Loading…
Reference in New Issue
Block a user