Change in ovirt-engine[master]: core: move getActiveSnapshot to VmCommand

ahadas at redhat.com ahadas at redhat.com
Fri Jan 2 06:59:55 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: move getActiveSnapshot to VmCommand
......................................................................


core: move getActiveSnapshot to VmCommand

Since we are going to use this method in other VM commands, it is moved
from RunVmCommand to VmCommand.

RunVmCommand#getSnapshotDao is also removed, and
AuditLogableBase#getSnapshotDAO is used instead.

Change-Id: I11213c49c3bbb7b733722bb9501d2616c09ae2e0
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCommand.java
3 files changed, 11 insertions(+), 14 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I11213c49c3bbb7b733722bb9501d2616c09ae2e0
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