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

b #5852: Fix quota rollback for vm snapshot create (#2116)

(cherry picked from commit 5128d66ce961e5870dcb1e96d9466da2a8c85b9a)
This commit is contained in:
Pavel Czerný 2022-06-02 10:41:09 +02:00 committed by Ruben S. Montero
parent 64a01da8f0
commit 23a1de0162
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -2323,7 +2323,7 @@ void VirtualMachineSnapshotCreate::request_execute(
if ( rc != 0 )
{
quota_rollback(&quota_tmpl, Quotas::VM, att);
quota_rollback(&quota_tmpl, Quotas::VM, att_quota);
failure_response(ACTION, att);
}
else