Merge "VMware: Stop setting dynamicType"
This commit is contained in:
commit
2c1f3a460c
@ -1219,7 +1219,6 @@ class VolumeOpsTestCase(test.TestCase):
|
||||
backing = mock.sentinel.backing
|
||||
self.vops.change_backing_profile(backing, None)
|
||||
|
||||
self.assertEqual('profile', empty_profile_spec.dynamicType)
|
||||
self.assertEqual([empty_profile_spec], reconfig_spec.vmProfile)
|
||||
get_disk_device.assert_called_once_with(backing)
|
||||
self.assertEqual(disk_device, disk_spec.device)
|
||||
|
@ -1220,7 +1220,6 @@ class VMwareVolumeOps(object):
|
||||
|
||||
if profile_id is None:
|
||||
vm_profile = cf.create('ns0:VirtualMachineEmptyProfileSpec')
|
||||
vm_profile.dynamicType = 'profile'
|
||||
else:
|
||||
vm_profile = cf.create('ns0:VirtualMachineDefinedProfileSpec')
|
||||
vm_profile.profileId = profile_id.uniqueId
|
||||
|
Loading…
Reference in New Issue
Block a user