diff --git a/Cargo.lock b/Cargo.lock index d9efa7e7..78f6a19c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2739,9 +2739,9 @@ dependencies = [ [[package]] name = "scaleway_api_rs" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ef902879597f20dc6319fe7203d05c98066a48301ec9d383f23b483c881f95" +checksum = "d20620dd2a8b440dcd2b6777c75c845217115ce69f0c1a9575cb9f7af1e7b49d" dependencies = [ "reqwest 0.11.4", "serde", diff --git a/Cargo.toml b/Cargo.toml index 95a3a11b..46f46504 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,7 @@ rusoto_iam = "0.46.0" digitalocean = "0.1.1" # Scaleway Deps -scaleway_api_rs = "=0.1.1" +scaleway_api_rs = "=0.1.2" [dev-dependencies] test-utilities = { path = "test_utilities" } diff --git a/src/container_registry/scaleway_container_registry.rs b/src/container_registry/scaleway_container_registry.rs index 668865b9..e8c139b6 100644 --- a/src/container_registry/scaleway_container_registry.rs +++ b/src/container_registry/scaleway_container_registry.rs @@ -99,7 +99,7 @@ impl ScalewayCR { pub fn get_image(&self, image: &Image) -> Option { // https://developers.scaleway.com/en/products/registry/api/#get-a6f1bc - let scaleway_images = match block_on(scaleway_api_rs::apis::images_api::list_images1( + let scaleway_images = match block_on(scaleway_api_rs::apis::images_api::list_images( &self.get_configuration(), self.zone.region().to_string().as_str(), None, @@ -145,7 +145,7 @@ impl ScalewayCR { let image_to_delete = image_to_delete.unwrap(); - match block_on(scaleway_api_rs::apis::images_api::delete_image1( + match block_on(scaleway_api_rs::apis::images_api::delete_image( &self.get_configuration(), self.zone.region().to_string().as_str(), image_to_delete.id.unwrap().as_str(), @@ -212,7 +212,7 @@ impl ScalewayCR { match block_on(scaleway_api_rs::apis::namespaces_api::create_namespace( &self.get_configuration(), self.zone.region().to_string().as_str(), - scaleway_api_rs::models::inline_object_23::InlineObject23 { + scaleway_api_rs::models::inline_object_29::InlineObject29 { name: image.name.clone(), description: None, project_id: Some(self.default_project_id.clone()), diff --git a/test_utilities/Cargo.toml b/test_utilities/Cargo.toml index bdb6f611..4721294d 100644 --- a/test_utilities/Cargo.toml +++ b/test_utilities/Cargo.toml @@ -29,4 +29,4 @@ hashicorp_vault = "2.0.1" digitalocean = "0.1.1" # Scaleway Deps -scaleway_api_rs = "=0.1.1" +scaleway_api_rs = "=0.1.2"