1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-30 22:50:10 +03:00

b : Fix quota rollback for vm snapshot create ()

This commit is contained in:
Pavel Czerný 2022-06-02 10:41:09 +02:00 committed by GitHub
parent 7f2fb3e92e
commit 5128d66ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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