1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

B #5450: Delete snapshots on recover-recreate (#2145)

This commit is contained in:
Pavel Czerný 2022-06-20 19:16:42 +02:00 committed by GitHub
parent 9811149add
commit 9fd8826bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -950,6 +950,8 @@ void LifeCycleManager::trigger_delete_recreate(int vid,
vm->delete_non_persistent_disk_snapshots(vm_quotas_snp,
ds_quotas_snp);
vm->delete_snapshots(vm_quotas_snp);
vmpool->update(vm.get());
break;
}