Commit e3080da
committed
testing: parlib: fix empty upload for small objects
For objects with file size less than 100 MiB, we use a direct PUT
request to send the data, rather than a multipart upload. However,
rather than passing the block of data that we already read from the file
(first_chunk), we are reading from the now exhausted file, so we always
upload empty data. Fix this so that we get correct uploads.
Signed-off-by: Stephen Brennan <[email protected]>1 parent 71ef529 commit e3080da
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| |||
0 commit comments