summaryrefslogtreecommitdiff
path: root/src/autoscaling.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoscaling.rs')
-rw-r--r--src/autoscaling.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/autoscaling.rs b/src/autoscaling.rs
index 79ac2b0..c43f116 100644
--- a/src/autoscaling.rs
+++ b/src/autoscaling.rs
@@ -3,11 +3,9 @@ use std::collections::HashSet;
use anyhow::{anyhow, bail, Result};
use aws_sdk_autoscaling as autoscaling;
use aws_sdk_autoscaling::types::{AutoScalingGroup, Instance, LifecycleState};
-use aws_sdk_route53::types::ResourceRecordSet;
use crate::ec2::{asg_instances_proposal, Ec2};
-use crate::hashable::Hashable;
-use crate::route53::Target;
+use crate::route53::{ResourceRecordSet, Target};
pub trait AutoScaling {
fn autoscaling(&self) -> &autoscaling::Client;
@@ -17,7 +15,7 @@ pub async fn propose_asg_recordsets<C>(
aws_context: &C,
target: &Target,
asg_name: &str,
-) -> Result<HashSet<Hashable<ResourceRecordSet>>>
+) -> Result<HashSet<ResourceRecordSet>>
where
C: AutoScaling + Ec2,
{