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(a)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(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian(a)redhat.com>
Gerrit-Reviewer: ofri masad <omasad(a)redhat.com>