diff --git a/aws/internal/service/autoscalingplans/finder/finder.go b/aws/internal/service/autoscalingplans/finder/finder.go index 6e38289758dc..90892a83c4f1 100644 --- a/aws/internal/service/autoscalingplans/finder/finder.go +++ b/aws/internal/service/autoscalingplans/finder/finder.go @@ -6,7 +6,7 @@ import ( ) // ScalingPlan returns the scaling plan corresponding to the specified name and version. -// Returns returns nil and potentially an API error if no scaling plan is found. +// Returns nil and potentially an API error if no scaling plan is found. func ScalingPlan(conn *autoscalingplans.AutoScalingPlans, scalingPlanName string, scalingPlanVersion int) (*autoscalingplans.ScalingPlan, error) { input := &autoscalingplans.DescribeScalingPlansInput{ ScalingPlanNames: aws.StringSlice([]string{scalingPlanName}),