Skip to content

Commit

Permalink
Merge pull request #130 from ZzIsGod1019/zz-object-0613
Browse files Browse the repository at this point in the history
os fix bug:invalid params key
  • Loading branch information
4t145 authored Jun 13, 2024
2 parents 3316ce3 + 936f8d5 commit 8957194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/src/os/os_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ impl TardisOSOperations for TardisOSS3Client {
let mut presign_url = vec![];
for part_no in 0..part_number {
let mut custom_queries = HashMap::new();
custom_queries.insert("upload_id".to_string(), upload_id.to_string());
custom_queries.insert("part_number".to_string(), (part_no + 1).to_string());
custom_queries.insert("uploadId".to_string(), upload_id.to_string());
custom_queries.insert("partNumber".to_string(), (part_no + 1).to_string());
presign_url.push(self.get_bucket(bucket_name)?.presign_put(path, expire_sec, None, Some(custom_queries)).await?);
}
Ok(presign_url)
Expand Down

0 comments on commit 8957194

Please sign in to comment.