Fixes an vet error.

This commit is contained in:
John Bresnahan 2016-05-17 06:23:53 -10:00
parent 592162c92a
commit 99ab233740
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ func resourceComputeInstanceV2Create(d *schema.ResourceData, meta interface{}) e
if vL, ok := d.GetOk("block_device"); ok {
blockDevices := resourceInstanceBlockDevicesV2(d, vL.([]interface{}))
createOpts = &bootfromvolume.CreateOptsExt{
createOpts,
blockDevices,
CreateOptsBuilder: createOpts,
BlockDevice: blockDevices,
}
}