Change in ovirt-engine[master]: core: fix possible NPE in migrate vm to server

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Sep 1 14:33:32 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: fix possible NPE in migrate vm to server
......................................................................


core: fix possible NPE in migrate vm to server

Rearrange the order of the checks which are carried out in
MigrationVmToServerCommand#canDoAction method, such that checks which
are use the VM will be executed after the VM is validated in
MigrateVmCommand#canDoAction.

Change-Id: Icc96ecb14eb0350823dc7ea2fd95a2b56ca2ec41
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmToServerCommand.java
1 file changed, 8 insertions(+), 4 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icc96ecb14eb0350823dc7ea2fd95a2b56ca2ec41
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list