aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 401ed53..5d139b6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -14,8 +14,6 @@ use anyhow::{bail, Result};
use clap::{Parser, Subcommand};
use rand::prelude::*;
-use rusoto_signature::Region;
-
use config::*;
use cryptoblob::*;
use login::{static_provider::*, *};
@@ -264,11 +262,11 @@ async fn main() -> Result<()> {
}
fn make_storage_creds(c: StorageCredsArgs) -> StorageCredentials {
- let s3_region = Region::Custom {
+ let s3_region = Region {
name: c.region.clone(),
endpoint: c.s3_endpoint,
};
- let k2v_region = Region::Custom {
+ let k2v_region = Region {
name: c.region,
endpoint: c.k2v_endpoint,
};