CLOUDSTACK-2924
Recurring snapshot schedule not showing up in UI
For some of the volumes Recurring snapshot schedule was not showing up in UI 
because the active column was set to false. Since we dont use this column 
anymore I am removing the active=true check in the listSnapshotPolicies call.


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

Branch: refs/heads/disk_io_throttling
Commit: 5b48ec24d8d0dd5919d80d396d6f1825dfe5373f
Parents: 50dc67b
Author: Nitin Mehta <nitin.me...@citrix.com>
Authored: Mon Jun 10 20:00:04 2013 +0530
Committer: Nitin Mehta <nitin.me...@citrix.com>
Committed: Mon Jun 10 20:00:16 2013 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b48ec24/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java 
b/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java
index 3f894a2..5394a8f 100644
--- a/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java
+++ b/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java
@@ -63,7 +63,6 @@ public class SnapshotPolicyDaoImpl extends 
GenericDaoBase<SnapshotPolicyVO, Long
     public List<SnapshotPolicyVO> listByVolumeId(long volumeId, Filter filter) 
{
         SearchCriteria<SnapshotPolicyVO> sc = VolumeIdSearch.create();
         sc.setParameters("volumeId", volumeId);
-        sc.setParameters("active", true);
         return listBy(sc, filter);
     }
        

Reply via email to