mirror of https://github.com/apache/cloudstack.git
* Fix the problem at #1740 when it loads all snapshots in the primary storage While checking a problem with @mike-tutkowski at PR #1740, we noticed that the method `org.apache.cloudstack.storage.snapshot.SnapshotDataFactoryImpl.getSnapshots(long, DataStoreRole)` was not loading the snapshots in `snapshot_store_ref` table according to their storage role. Instead, it would return a list of all snapshots (even if they are not in the storage role sent as a parameter) saying that they are in the storage that was sent as parameter. * Add unit test |
||
|---|---|---|
| .. | ||
| cache | ||
| configdrive | ||
| datamotion | ||
| image | ||
| integration-test | ||
| snapshot | ||
| src | ||
| volume | ||
| pom.xml | ||
| storage.ucls | ||