From a2e2df7c0f97633bba3a91981c4c1598a062aaac Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Thu, 25 Jul 2024 19:23:10 -0400 Subject: Further naming cleanup --- src/autoscaling.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/autoscaling.rs') 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) } -- cgit v1.2.3