summaryrefslogtreecommitdiff
path: root/src/autoscaling.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-07-25 19:23:10 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-07-25 19:23:10 -0400
commita2e2df7c0f97633bba3a91981c4c1598a062aaac (patch)
treecabee0ef8f1c7dc9cfcf7bf6f730703060a94499 /src/autoscaling.rs
parent2996d2b6268a320fafc512fcbee03a1b6182c521 (diff)
Further naming cleanup
Diffstat (limited to 'src/autoscaling.rs')
-rw-r--r--src/autoscaling.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autoscaling.rs b/src/autoscaling.rs
index ac60613..024b556 100644
--- a/src/autoscaling.rs
+++ b/src/autoscaling.rs
@@ -6,7 +6,7 @@ use aws_sdk_autoscaling::types::{AutoScalingGroup, Instance, LifecycleState};
use aws_sdk_route53::types::ResourceRecordSet;
use trust_dns_proto::rr::Name;
-use crate::ec2::{instance_recordsets, Ec2};
+use crate::ec2::{instance_proposal, Ec2};
use crate::hashable::Hashable;
pub trait AutoScaling {
@@ -28,7 +28,7 @@ where
.ok_or(anyhow!("Autoscaling group returned from AWS with no name"))?;
let live_instance_ids = live_instance_ids(asg.instances());
let proposed =
- instance_recordsets(aws_context, asg_name, dns_name, dns_ttl, &live_instance_ids).await?;
+ instance_proposal(aws_context, asg_name, dns_name, dns_ttl, &live_instance_ids).await?;
Ok(proposed)
}