aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-19 13:54:38 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-19 13:54:38 +0200
commit1ac56a91981bee4867dfb054bd2199c6111fe1eb (patch)
tree21bcb7fa97a908f6fbd95be30f750beb3abddf92 /src/main.rs
parent4bc3f70e287379991eb6e31a2a075752e85958b7 (diff)
downloadaerogramme-1ac56a91981bee4867dfb054bd2199c6111fe1eb.tar.gz
aerogramme-1ac56a91981bee4867dfb054bd2199c6111fe1eb.zip
Refactor K2V/S3 client creation
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 16eafc4..40dfbb8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -64,9 +64,9 @@ impl Main {
let creds = self.login_provider.login("lx", "plop").await?;
let mut mailbox = Mailbox::new(
- self.k2v_region.clone(),
- self.s3_region.clone(),
- creds.clone(),
+ &self.k2v_region,
+ &self.s3_region,
+ &creds,
"TestMailbox".to_string(),
)
.await?;