Change in ovirt-engine-sdk[master]: Empty list is not written to XML

Ondra Machacek has submitted this change and it was merged. Change subject: Empty list is not written to XML ...................................................................... Empty list is not written to XML When the user wants to send an empty list to the server, it is not currently possible. For example when the user wants to create non VM network he has to send an empty usages element. But if he sets the "Network.usages" attribute to empty list, the empty usages element isn't sent. This patch fixes that. Change-Id: I66bc71cf5c4757fff57b3143218488315dc218b8 Signed-off-by: Ondra Machacek <omachace@redhat.com> --- M generator/src/main/java/org/ovirt/sdk/python/WritersGenerator.java A sdk/tests/test_network_writer.py 2 files changed, 127 insertions(+), 1 deletion(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/64306 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I66bc71cf5c4757fff57b3143218488315dc218b8 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
omachace@redhat.com