From 5b48ec24d8d0dd5919d80d396d6f1825dfe5373f Mon Sep 17 00:00:00 2001 From: Nitin Mehta Date: Mon, 10 Jun 2013 20:00:04 +0530 Subject: [PATCH] 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. --- .../schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java b/engine/schema/src/com/cloud/storage/dao/SnapshotPolicyDaoImpl.java index 3f894a22640..5394a8fa103 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 listByVolumeId(long volumeId, Filter filter) { SearchCriteria sc = VolumeIdSearch.create(); sc.setParameters("volumeId", volumeId); - sc.setParameters("active", true); return listBy(sc, filter); }