Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Oct 18, 2024
1 parent bd18b57 commit 36748a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/service/resiliencehub/resiliency_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/YakDriver/regexache"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/resiliencehub"
"github.com/aws/aws-sdk-go-v2/service/resiliencehub/types"
awstypes "github.com/aws/aws-sdk-go-v2/service/resiliencehub/types"
"github.com/hashicorp/terraform-plugin-testing/compare"
sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest"
Expand Down Expand Up @@ -692,7 +691,7 @@ func testAccCheckResiliencyPolicyDestroy(ctx context.Context) resource.TestCheck
PolicyArn: aws.String(rs.Primary.Attributes[names.AttrARN]),
}
_, err := conn.DescribeResiliencyPolicy(ctx, input)
if errs.IsA[*types.ResourceNotFoundException](err) {
if errs.IsA[*awstypes.ResourceNotFoundException](err) {
return nil
}
if err != nil {
Expand Down

0 comments on commit 36748a8

Please sign in to comment.