Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
device operations are recursive if serialized
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Sep 26, 2017
1 parent d40eff7 commit 0bb3c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0bb3c43

Please sign in to comment.