Juan Hernandez has uploaded a new change for review. Change subject: sdk: Manually fix scheduling policy naming issue ......................................................................
sdk: Manually fix scheduling policy naming issue The code generator assumes that the name of the URL segment for scheduling policies is "schedulingpolicy", but in fact it is "schedulingpolicie". This is a bug of the server side. This patch fixes it manually to reduce the diffs with the code generated with the next version of the code generator. Change-Id: I8e044c1831191811af13fd49641bc5b828222d88 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M src/ovirtsdk/infrastructure/brokers.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/62/37862/1 diff --git a/src/ovirtsdk/infrastructure/brokers.py b/src/ovirtsdk/infrastructure/brokers.py index a13d702..14a2aed 100644 --- a/src/ovirtsdk/infrastructure/brokers.py +++ b/src/ovirtsdk/infrastructure/brokers.py @@ -16971,7 +16971,7 @@ url=UrlHelper.replace( url, { - '{schedulingpolicy:id}': self.get_id(), + '{schedulingpolicie:id}': self.get_id(), } ), headers={'Content-type':None} @@ -16988,7 +16988,7 @@ url=UrlHelper.replace( url, { - '{schedulingpolicy:id}': self.get_id(), + '{schedulingpolicie:id}': self.get_id(), } ), body=ParseHelper.toXml(self.superclass), -- To view, visit http://gerrit.ovirt.org/37862 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8e044c1831191811af13fd49641bc5b828222d88 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