Change in ovirt-engine-sdk[sdk_4.0]: 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> (cherry picked from commit 19a123cbf8d3daa70f99432f9c469eae90a6beb2) --- 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/64327 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I66bc71cf5c4757fff57b3143218488315dc218b8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: sdk_4.0 Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
omachace@redhat.com