Snapshot operations are global by project
This commit is contained in:
parent
64b67436ab
commit
d8e6b2ba8f
|
@ -174,8 +174,7 @@ func resourceComputeSnapshotDelete(d *schema.ResourceData, meta interface{}) err
|
||||||
return fmt.Errorf("Error deleting snapshot: %s", err)
|
return fmt.Errorf("Error deleting snapshot: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
zone := d.Get("zone").(string)
|
err = computeOperationWaitGlobal(config, op, project, "Deleting Snapshot")
|
||||||
err = computeOperationWaitZone(config, op, project, zone, "Deleting Snapshot")
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue