Snapshot operations are global by project

This commit is contained in:
Thomas Poindessous 2017-03-13 12:26:12 +01:00
parent 64b67436ab
commit d8e6b2ba8f
1 changed files with 1 additions and 2 deletions

View File

@ -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
} }