Skip to content

Commit

Permalink
Fix crash because missing error check before waiting on operation (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored Oct 9, 2017
1 parent 60b6dae commit 3d4c517
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 3d4c517

Please sign in to comment.