provider/google: Improve error messages in backend_service test
This commit is contained in:
parent
08b9a11b42
commit
69681b0a86
|
@ -125,7 +125,7 @@ func testAccCheckComputeBackendServiceDestroy(s *terraform.State) error {
|
|||
_, err := config.clientCompute.BackendServices.Get(
|
||||
config.Project, rs.Primary.ID).Do()
|
||||
if err == nil {
|
||||
return fmt.Errorf("Backend service still exists")
|
||||
return fmt.Errorf("Backend service %s still exists", rs.Primary.ID)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ func testAccCheckComputeBackendServiceExists(n string, svc *compute.BackendServi
|
|||
}
|
||||
|
||||
if found.Name != rs.Primary.ID {
|
||||
return fmt.Errorf("Backend service not found")
|
||||
return fmt.Errorf("Backend service %s not found", rs.Primary.ID)
|
||||
}
|
||||
|
||||
*svc = *found
|
||||
|
|
Loading…
Reference in New Issue