Change in ovirt-engine[master]: core: HibernateVmCommand canDoAction cleanup

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Apr 14 11:55:35 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>



More information about the Engine-commits mailing list