Liron Aravot has posted comments on this change.

Change subject: engine : Add json rpc request completed method
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.ovirt.org/#/c/39373/3/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/GetImageInfoVDSCommand.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/GetImageInfoVDSCommand.java:

Line 40:                 getParameters().getImageId().toString());
Line 41:         DiskImage di = null;
Line 42:         try {
Line 43:             proceedProxyReturnValue();
Line 44:             di = buildImageEntity(imageInfoReturn.getInfo());
> I have not changed the existing commands. The existing commands should work
perhaps my point was missed, the line 
di = buildImageEntity(imageInfoReturn.getInfo());

is using the info retrieved from the execution, so in the callback you'll 
always wait for completion and won't use the new flagged you added.
Line 45:         } catch (Exception e) {
Line 46:             printReturnValue();
Line 47:             // nothing to do - logging inside upper functions
Line 48:         } finally {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6e0ef961927c3fb17656ecac12d245c25b2ee367
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to