Skip to content

Commit

Permalink
fix destroy func
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomper-TE committed Dec 12, 2023
1 parent c20d8d6 commit bcbedf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thousandeyes/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func testAccCheckResourceDestroy(resources []ResourceType, s *terraform.State) e
if err != nil {
return err
}
_, err = testClient.GetAlertRule(id)
_, err = resource.GetResource(id)
if err == nil {
return fmt.Errorf("%s with id %s still exists", resource.ResourceName, rs.Primary.ID)
}
Expand Down

0 comments on commit bcbedf7

Please sign in to comment.