log id of health check that still exists on destroy
This commit is contained in:
parent
2009d6a135
commit
35664ff0e1
|
@ -138,7 +138,7 @@ func testAccCheckComputeHealthCheckDestroy(s *terraform.State) error {
|
||||||
_, err := config.clientCompute.HealthChecks.Get(
|
_, err := config.clientCompute.HealthChecks.Get(
|
||||||
config.Project, rs.Primary.ID).Do()
|
config.Project, rs.Primary.ID).Do()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return fmt.Errorf("HealthCheck still exists")
|
return fmt.Errorf("HealthCheck %s still exists", rs.Primary.ID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue