log id of health check that still exists on destroy

This commit is contained in:
Dana Hoffman 2016-12-08 10:40:09 -08:00
parent bb21b57596
commit 61670a73d6

View File

@ -138,7 +138,7 @@ func testAccCheckComputeHealthCheckDestroy(s *terraform.State) error {
_, err := config.clientCompute.HealthChecks.Get(
config.Project, rs.Primary.ID).Do()
if err == nil {
return fmt.Errorf("HealthCheck still exists")
return fmt.Errorf("HealthCheck %s still exists", rs.Primary.ID)
}
}