device operations are recursive if serialized
This commit is contained in:
parent
d40eff720c
commit
0bb3c4379c
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ def serialize_spec(clonespec):
|
|||
elif isinstance(xo, vim.vm.device.VirtualDisk):
|
||||
data[x] = serialize_spec(xo)
|
||||
elif isinstance(xo, vim.vm.device.VirtualDeviceSpec.FileOperation):
|
||||
data[x] = serialize_spec(xo)
|
||||
data[x] = to_text(xo)
|
||||
elif isinstance(xo, vim.Description):
|
||||
data[x] = {
|
||||
'dynamicProperty': serialize_spec(xo.dynamicProperty),
|
||||
|
|
Loading…
Reference in a new issue