From 23a1de01624e0453ef662bdca7a717811acbc8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Czern=C3=BD?= Date: Thu, 2 Jun 2022 10:41:09 +0200 Subject: [PATCH] b #5852: Fix quota rollback for vm snapshot create (#2116) (cherry picked from commit 5128d66ce961e5870dcb1e96d9466da2a8c85b9a) --- src/rm/RequestManagerVirtualMachine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rm/RequestManagerVirtualMachine.cc b/src/rm/RequestManagerVirtualMachine.cc index dcab410d30..e504ce6d67 100644 --- a/src/rm/RequestManagerVirtualMachine.cc +++ b/src/rm/RequestManagerVirtualMachine.cc @@ -2323,7 +2323,7 @@ void VirtualMachineSnapshotCreate::request_execute( if ( rc != 0 ) { - quota_rollback("a_tmpl, Quotas::VM, att); + quota_rollback("a_tmpl, Quotas::VM, att_quota); failure_response(ACTION, att); } else