Revert "provider/aws: fix ECS service CheckDestroy in tests"

This reverts commit 47f8b0cd79.

cc @phinze
This commit is contained in:
Radek Simko 2015-12-23 11:35:30 +01:00
parent 9a625427ca
commit b7ed0e1c80
1 changed files with 0 additions and 5 deletions

View File

@ -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"
@ -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