Change in ovirt-engine[master]: core: remove unneeded checks on end of hibernate command

ahadas at redhat.com ahadas at redhat.com
Wed Jan 21 14:46:58 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: remove unneeded checks on end of hibernate command
......................................................................


core: remove unneeded checks on end of hibernate command

Now that the VM is locked for the entire operation of the hibernate
command, there is no point to check if the VM is null since it cannot
be removed while the operation is in-progress.

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

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia86cb3389f841db60fcdcb4577c8449b5eb4d7fc
Gerrit-PatchSet: 3
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: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list