From e872bcdc978283b45da22a4de5ed195dce613a71 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 24 Jul 2024 19:26:45 -0400 Subject: Upgrade AWS libraries. This comes with some substantial removals, because the AWS libs no longer treat every last field as optional when it's inappropriate to do so. Hooray! --- src/autoscaling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/autoscaling.rs') diff --git a/src/autoscaling.rs b/src/autoscaling.rs index 81b9961..327a4f7 100644 --- a/src/autoscaling.rs +++ b/src/autoscaling.rs @@ -19,7 +19,7 @@ where .send() .await?; - let auto_scaling_groups = asg_resp.auto_scaling_groups().unwrap_or(&[]); + let auto_scaling_groups = asg_resp.auto_scaling_groups(); let auto_scaling_group = auto_scaling_groups .iter() .map(ToOwned::to_owned) -- cgit v1.2.3