Omer Frenkel has submitted this change and it was merged.
Change subject: core: HibernateVmCommand canDoAction cleanup
......................................................................
core: HibernateVmCommand canDoAction cleanup
return canDoAction on failed check instead of if-else,
move storage domains check to be last,
removed useless call to update vm disks,
removed useless comment.
Change-Id: Ib2c7682a7b1b47e84f71fe1a6f91b3af78d799ab
Signed-off-by: Omer Frenkel <ofrenkel(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HibernateVmCommand.java
1 file changed, 23 insertions(+), 40 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/13482
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2c7682a7b1b47e84f71fe1a6f91b3af78d799ab
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>