diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-19 13:54:38 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-19 13:54:38 +0200 |
commit | 1ac56a91981bee4867dfb054bd2199c6111fe1eb (patch) | |
tree | 21bcb7fa97a908f6fbd95be30f750beb3abddf92 /src/main.rs | |
parent | 4bc3f70e287379991eb6e31a2a075752e85958b7 (diff) | |
download | aerogramme-1ac56a91981bee4867dfb054bd2199c6111fe1eb.tar.gz aerogramme-1ac56a91981bee4867dfb054bd2199c6111fe1eb.zip |
Refactor K2V/S3 client creation
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
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?; |