Remove TODO.

GitOrigin-RevId: 094d7390c8c9b27a5cf1fa8967fe0d790b5b6d9e
This commit is contained in:
levlam 2019-01-01 20:13:44 +03:00
parent 13769d7410
commit 6b04ed9d4a

View File

@ -49,7 +49,9 @@ Result<FileLoader::FileInfo> FileUploader::init() {
return Status::Error("File is already uploaded");
}
TRY_RESULT(prefix_info, on_update_local_location(local_, 0 /* TODO(now) */));
// file_size is needed only for partial local locations, but for uploaded partial files
// size is yet unknown or local location is full, so we can always pass 0 here
TRY_RESULT(prefix_info, on_update_local_location(local_, 0));
(void)prefix_info;
int offset = 0;