Vered Volansky has posted comments on this change.

Change subject: core: ImportVmCommand - added method getUpdatedVmForOperation()
......................................................................


Patch Set 16: Looks good to me, but someone else must approve

(1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
Line 865:         // Going to try and refresh the VM by re-loading
Line 866:         // it form DB
Line 867:         VM vm = getUpdatedVmForOperation();
Line 868:         VM vmFromParams = getParameters().getVm();
Line 869:         if (getVm() != null) {
Wouldn't it be better if it were vm instead of getVM() now that the new method 
was used?
Line 870:             VmHandler.UnLockVm(getVm());
Line 871:             for (DiskImage disk : imageList) {
Line 872:                 
DbFacade.getInstance().getDiskImageDynamicDAO().remove(disk.getImageId());
Line 873:                 
DbFacade.getInstance().getImageDao().remove(disk.getImageId());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I1f53af1324fc1aed32bdf8ec1eac9b7f7d307f25
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmis...@linux.vnet.ibm.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to