Ravi Nori has uploaded a new change for review.

Change subject: cli: correlation_id is not attached to update command(#950441)
......................................................................

cli: correlation_id is not attached to update command(#950441)

update command does not attach correlation-id to request
header.

Change-Id: If4605ac4dcae8bd12cfefba029dac7867e393016
Bug-Url: https://bugzilla.redhat.com/950441
Signed-off-by: Ravi Nori <[email protected]>
---
M src/ovirtcli/command/update.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/46/13846/1

diff --git a/src/ovirtcli/command/update.py b/src/ovirtcli/command/update.py
index a86bddc..011d2e2 100644
--- a/src/ovirtcli/command/update.py
+++ b/src/ovirtcli/command/update.py
@@ -149,7 +149,7 @@
         if resource is None:
             self.error(Messages.Error.NO_SUCH_OBJECT % (args[0], args[1]))
         elif hasattr(resource, 'update'):
-            obj = self.update_object_data(resource, opts)
+            obj = self.execute_method(resource, 'update', opts)
             result = obj.update()
         else:
             self.error(Messages.Error.OBJECT_IS_IMMUTABLE % (args[0], args[1]))


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4605ac4dcae8bd12cfefba029dac7867e393016
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to