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/ec2.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ec2.rs') diff --git a/src/ec2.rs b/src/ec2.rs index 0c55a20..998b98b 100644 --- a/src/ec2.rs +++ b/src/ec2.rs @@ -14,7 +14,7 @@ pub trait Ec2 { fn ec2(&self) -> &ec2::Client; } -pub async fn instance_recordsets( +pub async fn instance_proposal( aws_context: &C, asg_name: &str, dns_name: &Name, @@ -70,17 +70,17 @@ where } let dns_name = dns_name.to_ascii(); - let ip4_recordset = host_recordset(&dns_name, dns_ttl, RrType::A, ip4)?; - let ip6_recordset = host_recordset(&dns_name, dns_ttl, RrType::Aaaa, ip6)?; + let ip4_proposal = host_proposal(&dns_name, dns_ttl, RrType::A, ip4)?; + let ip6_proposal = host_proposal(&dns_name, dns_ttl, RrType::Aaaa, ip6)?; - Ok(ip4_recordset + Ok(ip4_proposal .into_iter() - .chain(ip6_recordset.into_iter()) + .chain(ip6_proposal.into_iter()) .map(Hashable::from) .collect()) } -fn host_recordset( +fn host_proposal( dns_name: &str, dns_ttl: i64, rr_type: RrType, -- cgit v1.2.3