summaryrefslogtreecommitdiff
path: root/src/autoscaling.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoscaling.rs')
-rw-r--r--src/autoscaling.rs2
1 files changed, 1 insertions, 1 deletions
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)