Moti Asayag has uploaded a new change for review. Change subject: engine: Use getDbFacade() instead of static access ......................................................................
engine: Use getDbFacade() instead of static access Change-Id: Ia885bd989f841fee2161034e11b481e3ebe316c4 Signed-off-by: Moti Asayag <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmPoolWithVmsCommand.java 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/64/38364/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmPoolWithVmsCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmPoolWithVmsCommand.java index a71555b..642708a 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmPoolWithVmsCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmPoolWithVmsCommand.java @@ -19,7 +19,6 @@ import org.ovirt.engine.core.common.errors.VdcBllMessages; import org.ovirt.engine.core.common.validation.group.CreateEntity; import org.ovirt.engine.core.compat.Guid; -import org.ovirt.engine.core.dal.dbbroker.DbFacade; @DisableInPrepareMode @NonTransactiveCommandAttribute(forceCompensation = true) @@ -62,7 +61,7 @@ protected Guid getPoolId() { VmPool vmPool = getVmPool(); - DbFacade.getInstance().getVmPoolDao().save(vmPool); + getDbFacade().getVmPoolDao().save(vmPool); return vmPool.getVmPoolId(); } -- To view, visit https://gerrit.ovirt.org/38364 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia885bd989f841fee2161034e11b481e3ebe316c4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
