Change in ovirt-engine-sdk-ruby[sdk_4.0]: Write correctly lists of enum values

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Sep 21 15:28:02 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Write correctly lists of enum values
......................................................................


Write correctly lists of enum values

Currently the SDK doesn't write correctly lists of enum values, because
it tries to end the list calling the "end_element" method of the
"XmlWriter" class, which doesn't exist, the correct name is "write_end".
This is a bug in the code generator, fixed by this patch.

Change-Id: I87577ec88be3dcfe21d879fb4393f677a74511e7
Bug-Url: https://bugzilla.redhat.com/1378066
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 1e05f5d2aaee90ef9a39506bbd206c186423b0fe)
---
M generator/src/main/java/org/ovirt/sdk/ruby/WritersGenerator.java
M sdk/spec/vm_writer_spec.rb
2 files changed, 33 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/64250
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I87577ec88be3dcfe21d879fb4393f677a74511e7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list