mirror of https://github.com/apache/cloudstack.git
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:
parent
50dc67bc2e
commit
5b48ec24d8
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue