From 245216131db42190e93da45806d74ea203e7fcd1 Mon Sep 17 00:00:00 2001 From: rho song <13165182+rhoboat@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:09:17 -0700 Subject: [PATCH] Update package alias. --- awscommons/v2/ecs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awscommons/v2/ecs.go b/awscommons/v2/ecs.go index 93cd6b7..41f5471 100644 --- a/awscommons/v2/ecs.go +++ b/awscommons/v2/ecs.go @@ -8,7 +8,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ecs" - ecsTypes "github.com/aws/aws-sdk-go-v2/service/ecs/types" + ecs_types "github.com/aws/aws-sdk-go-v2/service/ecs/types" "github.com/gruntwork-io/go-commons/collections" "github.com/gruntwork-io/go-commons/errors" "github.com/gruntwork-io/go-commons/retry" @@ -193,7 +193,7 @@ func allInstancesFullyDrained(responses []*ecs.DescribeContainerInstancesOutput) return true, nil } -func instanceFullyDrained(instance ecsTypes.ContainerInstance) bool { +func instanceFullyDrained(instance ecs_types.ContainerInstance) bool { instanceArn := instance.ContainerInstanceArn if *instance.Status == "ACTIVE" {