Liron Ar has uploaded a new change for review.

Change subject: core: rename method in ExportVmCommand
......................................................................

core: rename method in ExportVmCommand

Rename the method endDiskRelatedActions to be less obscure and reflect
what it actually does i.e. populating the VM disks & devices data

Change-Id: I468fc1875d8f6045dba376beec2636a144a17efe
Signed-off-by: Liron Aravot <lara...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/10/21110/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 2f01e66..46f2775 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
@@ -508,7 +508,7 @@
         endActionOnAllImageGroups();
         VM vm = getVm();
         VmHandler.unLockVm(vm);
-        endDiskRelatedActions(vm);
+        populateVmData(vm);
         if (getParameters().getCopyCollapse()) {
             endCopyCollapseOperations(vm);
         } else {
@@ -517,7 +517,7 @@
         setSucceeded(true);
     }
 
-    private void endDiskRelatedActions(VM vm) {
+    private void populateVmData(VM vm) {
         VmHandler.updateDisksFromDb(vm);
         VmDeviceUtils.setVmDevices(vm.getStaticData());
     }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I468fc1875d8f6045dba376beec2636a144a17efe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Liron Ar <lara...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to