Skip to content

Commit

Permalink
Merge all changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGhildyal committed Nov 26, 2024
1 parent c213265 commit 9bbe840
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/adapters/ingresses/apig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;

Expand Down

0 comments on commit 9bbe840

Please sign in to comment.