From Ondra Machacek <omachace(a)redhat.com>:
Ondra Machacek has submitted this change and it was merged.
Change subject: Read correctly attributes with enum values
......................................................................
Read correctly attributes with enum values
A recent patch introduced a mechanism to ignore incorrect values of
enum types. That patch also introduced a regresion for attributes of
enum types that have a name different to their type name. For
example, the 'vm.migration.auto_converge' attribute is of type
'InheritableBoolean', not of type 'AutoConverge' as assumed by the
code generator. This patch fixes that issue.
Change-Id: I7e8df50f4dd59881238346f7b9ce06dd2a653546
Signed-off-by: Ondra Machacek <omachace(a)redhat.com>
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit ecc6928e683feec8ea62b1fa3885c1e31dfc7fd8)
---
M generator/src/main/java/org/ovirt/sdk/python/ReadersGenerator.java
A sdk/tests/test_vm_reader.py
2 files changed, 107 insertions(+), 1 deletion(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/73528
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7e8df50f4dd59881238346f7b9ce06dd2a653546
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>