Maor Lipchuk has uploaded a new change for review.

Change subject: core: Fix exception for unlock VM.
......................................................................

core: Fix exception for unlock VM.

Fix exception to use unlock VM for VM instead vm id

Change-Id: Ia696ef0f7e0a66a99e8f9c53458961d26d77d5b7
Signed-off-by: Maor Lipchuk <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/7222/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
index bc58f54..46d3c65 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
@@ -443,7 +443,7 @@
 
     protected void endSuccessfullySynchronous() {
         VM vm = getVm();
-        VmHandler.UnLockVm(vm.getId());
+        VmHandler.UnLockVm(vm);
         this.updateSnapshotOvf(vm);
         setSucceeded(true);
     }


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

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

Reply via email to