aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-04-07 23:02:00 +0200
committerAlex Auvolat <alex@adnab.me>2022-04-19 12:50:40 +0200
commitc9ef3e461b54f36b7fb60e03959416339cd61a9f (patch)
treeb22e910bbf1cb8109bba741e17ac394e9a36d920
parentc93008d33317f1b2a74073950498e634228b39c0 (diff)
downloadgarage-fix-multipart-fragmentation.tar.gz
garage-fix-multipart-fragmentation.zip
-rw-r--r--src/api/s3_copy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3_copy.rs b/src/api/s3_copy.rs
index 1b2573a1..fc4707e2 100644
--- a/src/api/s3_copy.rs
+++ b/src/api/s3_copy.rs
@@ -594,7 +594,7 @@ impl<S: Stream<Item = BlockStreamItem>> Defragmenter<S> {
}
}
- return Ok((std::mem::take(&mut self.buffer), self.hash.take()));
+ Ok((std::mem::take(&mut self.buffer), self.hash.take()))
}
}