mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.14'
This commit is contained in:
commit
de3ccd2c29
|
|
@ -73,6 +73,9 @@ public class SnapshotDataFactoryImpl implements SnapshotDataFactory {
|
|||
for (SnapshotDataStoreVO snapshotDataStoreVO : allSnapshotsFromVolumeAndDataStore) {
|
||||
DataStore store = storeMgr.getDataStore(snapshotDataStoreVO.getDataStoreId(), role);
|
||||
SnapshotVO snapshot = snapshotDao.findById(snapshotDataStoreVO.getSnapshotId());
|
||||
if (snapshot == null){ //snapshot may have been removed;
|
||||
continue;
|
||||
}
|
||||
SnapshotObject info = SnapshotObject.getSnapshotObject(snapshot, store);
|
||||
|
||||
infos.add(info);
|
||||
|
|
|
|||
Loading…
Reference in New Issue