From d581b6c0e7a9eae2b539c6e7579b8bbb94a2ccdd Mon Sep 17 00:00:00 2001 From: James Kwon <96548424+hongil0316@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:35:13 -0500 Subject: [PATCH] Migrate to AWS SDK v2 for rds subnet group, snapshot, proxy, parameter group, global cluster, global cluster membership, rds-cluster --- aws/resources/rds_global_cluster_membership_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aws/resources/rds_global_cluster_membership_test.go b/aws/resources/rds_global_cluster_membership_test.go index dc785d36..87fc692e 100644 --- a/aws/resources/rds_global_cluster_membership_test.go +++ b/aws/resources/rds_global_cluster_membership_test.go @@ -9,7 +9,6 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/rds" "github.com/aws/aws-sdk-go-v2/service/rds/types" - awsgo "github.com/aws/aws-sdk-go/aws" "github.com/gruntwork-io/cloud-nuke/config" "github.com/stretchr/testify/assert" ) @@ -48,7 +47,7 @@ func TestRDSGlobalClusterMembershipGetAll(t *testing.T) { // Testing empty config clusters, err := dbCluster.getAll(context.Background(), config.Config{DBGlobalClusterMemberships: config.ResourceType{}}) assert.NoError(t, err) - assert.Contains(t, awsgo.StringValueSlice(clusters), strings.ToLower(testName)) + assert.Contains(t, aws.ToStringSlice(clusters), strings.ToLower(testName)) // Testing db cluster exclusion clusters, err = dbCluster.getAll(context.Background(), config.Config{