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(a)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(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server