-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass size of source while calling put for storage bucket from kando (#…
…809) * Pass size of source while calling put for storage bucket We were passing the object size 0 when we called `.put` on the bucket of object storage and because of that `stow` was not able to figure out the source size and eventually multi part upload was not being triggered. * Read io.reader to figure out size of content * Figure out correct size using multipart reader, only in case of azure storeage * Revert changes from mod files * Add TestReaderSize test case for 0 size Signed-off-by: PrasadG193 <[email protected]> * Add unit tests for multipart upload Signed-off-by: PrasadG193 <[email protected]> * Do not return if delete fails Signed-off-by: PrasadG193 <[email protected]> * Add comments Signed-off-by: PrasadG193 <[email protected]> * Addressed review comments Signed-off-by: PrasadG193 <[email protected]> * Reorder test cases Signed-off-by: PrasadG193 <[email protected]> Co-authored-by: PrasadG193 <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4fa923d
commit 629d229
Showing
2 changed files
with
148 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters