Skip to content

Commit

Permalink
Revert "provider/aws: fix ECS service CheckDestroy in tests"
Browse files Browse the repository at this point in the history
This reverts commit 47f8b0c.

cc @phinze
  • Loading branch information
radeksimko committed Dec 23, 2015
1 parent 9a62542 commit b7ed0e1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builtin/providers/aws/resource_aws_ecs_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"testing"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/ecs"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
Expand Down Expand Up @@ -235,10 +234,6 @@ func testAccCheckAWSEcsServiceDestroy(s *terraform.State) error {
Cluster: aws.String(rs.Primary.Attributes["cluster"]),
})

if awserr, ok := err.(awserr.Error); ok && awserr.Code() == "ClusterNotFoundException" {
continue
}

if err == nil {
if len(out.Services) > 0 {
var activeServices []*ecs.Service
Expand Down

0 comments on commit b7ed0e1

Please sign in to comment.