Shubhendu Tripathi has uploaded a new change for review. Change subject: gluster: Fixed an issue with query specific to 3.5 ......................................................................
gluster: Fixed an issue with query specific to 3.5 ovirt-engine-3.5 does not support injection of DAO objects in DB queries. Fixed the same. Change-Id: If3f37e03cdd25d32ba95698d57f85a273c848afb Bug-URL: https://bugzilla.redhat.com/1224685 Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllClustersHavingHostsQuery.java 1 file changed, 1 insertion(+), 7 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/41379/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllClustersHavingHostsQuery.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllClustersHavingHostsQuery.java index 69d4f54..74d02b6 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllClustersHavingHostsQuery.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllClustersHavingHostsQuery.java @@ -1,20 +1,14 @@ package org.ovirt.engine.core.bll; -import javax.inject.Inject; - import org.ovirt.engine.core.common.queries.VdcQueryParametersBase; -import org.ovirt.engine.core.dao.VdsGroupDAO; public class GetAllClustersHavingHostsQuery<P extends VdcQueryParametersBase> extends QueriesCommandBase<P> { - @Inject - private VdsGroupDAO clusterDao; - public GetAllClustersHavingHostsQuery(P parameters) { super(parameters); } @Override protected void executeQueryCommand() { - setReturnValue(clusterDao.getClustersHavingHosts()); + setReturnValue(getDbFacade().getVdsGroupDao().getClustersHavingHosts()); } } -- To view, visit https://gerrit.ovirt.org/41379 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If3f37e03cdd25d32ba95698d57f85a273c848afb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5-gluster Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches