mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
xen: Fix volume snapshot deletion when it has child snapshots (#6296)
This commit is contained in:
parent
293517ad72
commit
48f7f10089
@ -127,7 +127,7 @@ public class SnapshotObject implements SnapshotInfo {
|
|||||||
if (vo == null) {
|
if (vo == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return snapshotFactory.getSnapshot(vo.getId(), store);
|
return snapshotFactory.getSnapshot(vo.getSnapshotId(), store);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -192,9 +192,9 @@ class TestListIdsParams(cloudstackTestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
cls._cleanup = [
|
cls._cleanup = [
|
||||||
cls.snapshot_1,
|
|
||||||
cls.snapshot_2,
|
|
||||||
cls.snapshot_3,
|
cls.snapshot_3,
|
||||||
|
cls.snapshot_2,
|
||||||
|
cls.snapshot_1,
|
||||||
cls.account,
|
cls.account,
|
||||||
cls.disk_offering,
|
cls.disk_offering,
|
||||||
cls.service_offering
|
cls.service_offering
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user