Vitor de Lima has uploaded a new change for review.

Change subject: core, engine: Fix VM CD change in JSON RPC
......................................................................

core, engine: Fix VM CD change in JSON RPC

This change fixes a NPE while changing the CD of a running VM.

Change-Id: I976354fca483d1cdb45ba7abc006924eb7041af7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1145728
Signed-off-by: Vitor de Lima <vdel...@redhat.com>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/92/34092/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
index 7d4bb19..0fee690 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java
@@ -281,7 +281,7 @@
                         .withParameter("driveSpec", imageLocation)
                         .build();
         Map<String, Object> response =
-                new FutureMap(this.client, request).withResponseKey("status");
+                new FutureMap(this.client, request).withResponseKey("vmList");
         return new OneVmReturnForXmlRpc(response);
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I976354fca483d1cdb45ba7abc006924eb7041af7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5.0
Gerrit-Owner: Vitor de Lima <vdel...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to