Bug 13842 Check for snapshots in BackedUp state during the deletion of secondary storage

behalf of: pranav
reviewed by: kishan
This commit is contained in:
Likitha Shetty 2012-03-14 17:59:38 +05:30
parent d71ab32900
commit 59262d67a3
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class SnapshotDaoImpl extends GenericDaoBase<SnapshotVO, Long> implements
public List<SnapshotVO> listByHostId(Filter filter, long hostId ) {
SearchCriteria<SnapshotVO> sc = HostIdSearch.create();
sc.setParameters("hostId", hostId);
sc.setParameters("status", Status.DOWNLOADED);
sc.setParameters("status", Snapshot.Status.BackedUp);
return listBy(sc, filter);
}