Juan Hernandez has uploaded a new change for review.

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

codegen, 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.hernan...@redhat.com>
---
M src/ovirtsdk/infrastructure/brokers.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/66/37866/1

diff --git a/src/ovirtsdk/infrastructure/brokers.py 
b/src/ovirtsdk/infrastructure/brokers.py
index b2ceeeb..88e90ea 100644
--- a/src/ovirtsdk/infrastructure/brokers.py
+++ b/src/ovirtsdk/infrastructure/brokers.py
@@ -13538,7 +13538,7 @@
             context=self.context
         )
 
-class HostStorage(params.HostStorage, Base):
+class HostStorage(params.Storage, Base):
     def __init__(self, parentclass, superclass, context):
         Base.__init__(self, context)
         self.parentclass = parentclass


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cc05bb01ce2267fb4ee1bd5ee77ace1e2f4d6f5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to