Change in ovirt-engine[master]: core: Fix quota release for Remove-Template

dfediuck at redhat.com dfediuck at redhat.com
Tue Feb 26 08:30:11 UTC 2013


Doron Fediuck has submitted this change and it was merged.

Change subject: core: Fix quota release for Remove-Template
......................................................................


core: Fix quota release for Remove-Template

Quota resources are not released when deleting a template. This happened
because the template disk list was not initialized before the quota
consumption parameters check.

Added initialization of the list when before quota consumption
parameters check.

Change-Id: Iaf9326bfb81df2cdf1132f693d30014056df5d66
Bug-Url: https://bugzilla.redhat.com/913452
Signed-off-by: Ofri Masad <omasad at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmTemplateCommand.java
1 file changed, 11 insertions(+), 5 deletions(-)

Approvals:
  Doron Fediuck: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12396
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf9326bfb81df2cdf1132f693d30014056df5d66
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <omasad at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian at redhat.com>
Gerrit-Reviewer: ofri masad <omasad at redhat.com>



More information about the Engine-commits mailing list