Merge "VMware: Fix create vol from streamOptimized image"
This commit is contained in:
commit
f27190538f
@ -787,7 +787,7 @@ class VMwareVcVmdkDriverTestCase(test.TestCase):
|
||||
|
||||
select_ds_for_volume.assert_called_once_with(volume)
|
||||
vops.get_create_spec.assert_called_once_with(
|
||||
volume['name'], 0, disk_type, summary.name, profileId=profile_id,
|
||||
volume['name'], 0, disk_type, summary.name, profile_id=profile_id,
|
||||
adapter_type=adapter_type, extra_config=extra_config)
|
||||
self.assertEqual(vm_create_spec, import_spec.configSpec)
|
||||
download_image.assert_called_with(
|
||||
|
@ -1020,7 +1020,7 @@ class VMwareVcVmdkDriver(driver.VolumeDriver):
|
||||
dummy_disk_size,
|
||||
disk_type,
|
||||
summary.name,
|
||||
profileId=profile_id,
|
||||
profile_id=profile_id,
|
||||
adapter_type=adapter_type,
|
||||
extra_config=extra_config)
|
||||
# convert vm_create_spec to vm_import_spec
|
||||
|
Loading…
Reference in New Issue
Block a user