cloudstack/engine
Rafael Weingärtner 21c0225921
Fix the problem at #1740 when it loads all snapshots in the primary storage (#2808)
* 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
2018-08-17 08:33:25 -03:00
..
api Support online migration of a virtual disk on XenServer from non-managed storage to managed storage 2018-08-12 00:23:36 -06:00
components-api Cleanup POMs (#2613) 2018-07-25 14:39:37 -03:00
network Cleanup POMs (#2613) 2018-07-25 14:39:37 -03:00
orchestration Fix some log messages that do not match with their function (#2796) 2018-08-16 09:49:43 +02:00
schema Fix the problem at #1740 when it loads all snapshots in the primary storage (#2808) 2018-08-17 08:33:25 -03:00
service Cleanup POMs (#2613) 2018-07-25 14:39:37 -03:00
storage Fix the problem at #1740 when it loads all snapshots in the primary storage (#2808) 2018-08-17 08:33:25 -03:00
pom.xml Cleanup POMs (#2613) 2018-07-25 14:39:37 -03:00