Skip to content

Commit

Permalink
Fix crash because missing error check before waiting on operation (ha…
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored and Nic Cope committed Oct 16, 2017
1 parent cda7ac0 commit b2e0481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/resource_compute_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func resourceComputeInstanceCreate(d *schema.ResourceData, meta interface{}) err
switch computeApiVersion {
case v1:
instanceV1 := &compute.Instance{}
err := Convert(instance, instanceV1)
err = Convert(instance, instanceV1)
if err != nil {
return err
}
Expand Down

0 comments on commit b2e0481

Please sign in to comment.