aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/copy.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-26 18:55:24 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-26 18:55:24 +0100
commit4b978b7533a5899c19d0eecdbd37b629663b6a4b (patch)
tree6bf3fa7cf9ade9f9c2e0a89e3ae0c90bb3e9ec90 /src/api/s3/copy.rs
parent3692af7052f5efbb00b37d363b1c8952c0815519 (diff)
parent911a83ea7d06143c5a9621f88020ab6c0850ba54 (diff)
downloadgarage-4b978b7533a5899c19d0eecdbd37b629663b6a4b.tar.gz
garage-4b978b7533a5899c19d0eecdbd37b629663b6a4b.zip
Merge branch 'main' into next-0.10
Diffstat (limited to 'src/api/s3/copy.rs')
-rw-r--r--src/api/s3/copy.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/s3/copy.rs b/src/api/s3/copy.rs
index 7eb1fe60..880ce5f4 100644
--- a/src/api/s3/copy.rs
+++ b/src/api/s3/copy.rs
@@ -387,7 +387,10 @@ pub async fn handle_upload_part_copy(
// we need to insert that data as a new block.
async move {
if must_upload {
- garage2.block_manager.rpc_put_block(final_hash, data).await
+ garage2
+ .block_manager
+ .rpc_put_block(final_hash, data, None)
+ .await
} else {
Ok(())
}