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

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@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@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
ofrenkel@redhat.com