From aec9a980442177637332a324035c6582b9be95be Mon Sep 17 00:00:00 2001 From: "jerome.jutteau" Date: Sun, 18 Feb 2024 00:52:40 +0100 Subject: [PATCH] Add https de base url with osc-sdk-rust Signed-off-by: jerome.jutteau --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 59f19d5..4a45a89 100644 --- a/src/config.rs +++ b/src/config.rs @@ -87,7 +87,7 @@ pub fn load(path: String) -> Result> { service: "oapi".to_string(), }); cloud_config.user_agent = Some(format!("bsud/{}", VERSION)); - cloud_config.base_path = format!("api.{}.outscale.com/api/v1", region); + cloud_config.base_path = format!("https://api.{}.outscale.com/api/v1", region); { *CLOUD_CONFIG.write()? = cloud_config; }