aboutsummaryrefslogtreecommitdiff
path: root/src/bayou.rs
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2023-10-12 10:22:41 +0000
committerQuentin <quentin@dufour.io>2023-10-12 10:22:41 +0000
commit609dde413972ebeeb8cd658a5ec9f62b34b5c402 (patch)
tree419f57fbd9c179c518fd57c0e3f31098305eb4b3 /src/bayou.rs
parent726b8c00159230e44e3b7726cb2c96d08073379c (diff)
parenta1b7ca17c0badff4c983f3738531f3aa9b0fb977 (diff)
downloadaerogramme-609dde413972ebeeb8cd658a5ec9f62b34b5c402.tar.gz
aerogramme-609dde413972ebeeb8cd658a5ec9f62b34b5c402.zip
Merge pull request 'partial re-implementation of body ext' (#30) from bodyext into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/pulls/30
Diffstat (limited to 'src/bayou.rs')
-rw-r--r--src/bayou.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bayou.rs b/src/bayou.rs
index cbfb414..9f70017 100644
--- a/src/bayou.rs
+++ b/src/bayou.rs
@@ -384,7 +384,7 @@ impl<S: BayouState> Bayou<S> {
let cryptoblob = seal_serialize(&state_cp, &self.key)?;
debug!("(cp) checkpoint body length: {}", cryptoblob.len());
- let por = PutObjectRequest{
+ let por = PutObjectRequest {
bucket: self.bucket.clone(),
key: format!("{}/checkpoint/{}", self.path, ts_cp.to_string()),
body: Some(cryptoblob.into()),
@@ -437,7 +437,7 @@ impl<S: BayouState> Bayou<S> {
async fn list_checkpoints(&self) -> Result<Vec<(Timestamp, String)>> {
let prefix = format!("{}/checkpoint/", self.path);
- let lor = ListObjectsV2Request{
+ let lor = ListObjectsV2Request {
bucket: self.bucket.clone(),
max_keys: Some(1000),
prefix: Some(prefix.clone()),