Merge pull request #6718 from buzztroll/vet/keyed_fields

provider/openstack: Fixes an vet error.
This commit is contained in:
Joe Topjian 2016-05-17 13:53:57 -05:00
commit d3b0a301c7
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,
}
}