diff --git a/src/adapters/ingresses/apig.rs b/src/adapters/ingresses/apig.rs index 6faf377..2270ca4 100644 --- a/src/adapters/ingresses/apig.rs +++ b/src/adapters/ingresses/apig.rs @@ -178,7 +178,13 @@ impl AwsApiGateway { .rest_api_id(api.id.unwrap_or_default()) .stage_name(stage_name) .patch_operations(patch_op) - pub async fn promote_apig_canary(&self, api_id: &str, stage_name: &str) -> Result<()> { + .send() + .await + .into_diagnostic()?; + + Ok(()) + } + pub async fn promote_apig_canary(&self, api_name: &str, stage_name: &str) -> Result<()> { let api = self.get_api_id_by_name(api_name).await?;