Merge "VMware: Stop setting dynamicType"

This commit is contained in:
Jenkins 2017-06-16 23:02:12 +00:00 committed by Gerrit Code Review
commit 2c1f3a460c
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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