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.
This commit is contained in:
Nitin Mehta 2013-06-10 20:00:04 +05:30
parent 50dc67bc2e
commit 5b48ec24d8
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}