Hello Ravi Nori,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/14093

to review the following change.

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 <rn...@redhat.com>
---
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/93/14093/1

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


--
To view, visit http://gerrit.ovirt.org/14093
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: cli_3.2
Gerrit-Owner: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to