device operations are recursive if serialized (#35727)
(cherry picked from commit 0bb3c4379c
)
This commit is contained in:
parent
61fe2efa48
commit
9a64ee4d87
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,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