Change in ovirt-engine-sdk[master]: sdk: Manually fix host storage broker class

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Feb 25 09:27:58 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: sdk: Manually fix host storage broker class
......................................................................


sdk: Manually fix host storage broker class

This class extends the "HostStorage" parameter class, and that is wrong,
it should extend "Storage". This happens because the current version of
the code generator calculates types using plural to singular (and the
other way around) rules, instead of getting the exact information from
the XML schema. This issue will be properly fixed in the next version of
the generator. This patch fixes it manually to reduce the differences on
the generated code.

Change-Id: I8cc05bb01ce2267fb4ee1bd5ee77ace1e2f4d6f5
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/ovirtsdk/infrastructure/brokers.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8cc05bb01ce2267fb4ee1bd5ee77ace1e2f4d6f5
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list