cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devd...@apache.org
Subject git commit: updated refs/heads/master to 52a9010
Date Wed, 05 Jun 2013 09:21:37 GMT
Updated Branches:
  refs/heads/master 4da995238 -> 52a901099


CLOUDSTACK-2824: API:MS:Ability to delete events and alerts-Auto Purge for Alerts doesn't
work


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/52a90109
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/52a90109
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/52a90109

Branch: refs/heads/master
Commit: 52a901099c9cb56ae197fe026d159dde3240e390
Parents: 4da9952
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Tue Jun 4 13:29:23 2013 +0530
Committer: Devdeep Singh <devdeep@gmail.com>
Committed: Wed Jun 5 14:37:11 2013 +0530

----------------------------------------------------------------------
 .../src/com/cloud/alert/dao/AlertDaoImpl.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/52a90109/engine/schema/src/com/cloud/alert/dao/AlertDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/alert/dao/AlertDaoImpl.java b/engine/schema/src/com/cloud/alert/dao/AlertDaoImpl.java
index 01a560a..18115a5 100755
--- a/engine/schema/src/com/cloud/alert/dao/AlertDaoImpl.java
+++ b/engine/schema/src/com/cloud/alert/dao/AlertDaoImpl.java
@@ -156,7 +156,7 @@ public class AlertDaoImpl extends GenericDaoBase<AlertVO, Long>
implements Alert
     public List<AlertVO> listOlderAlerts(Date oldTime) {
         if (oldTime == null) return null;
         SearchCriteria<AlertVO> sc = createSearchCriteria();
-        sc.addAnd("createDate", SearchCriteria.Op.LT, oldTime);
+        sc.addAnd("createdDate", SearchCriteria.Op.LT, oldTime);
         sc.addAnd("archived", SearchCriteria.Op.EQ, false);
         return listIncludingRemovedBy(sc, null);
     }


Mime
View raw message