1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5712: Fix segfault on VM instantiate (#1725)

This commit is contained in:
Pavel Czerný 2022-01-28 14:45:28 +01:00 committed by GitHub
parent 3a201337b7
commit c5c6f1a35a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,7 +284,7 @@ Request::ErrorCode VMTemplateInstantiate::request_execute(int id, string name,
{
quota_rollback(&extended_tmpl, Quotas::VIRTUALMACHINE, att);
for ( auto& ds : ds_quotas )
for ( auto& ds : applied )
{
quota_rollback(ds.get(), Quotas::DATASTORE, att);
}