Change in ovirt-engine[master]: core: Fix getQuotaConsumptionParameters redundant calls

gchaplik at redhat.com gchaplik at redhat.com
Mon Dec 17 08:51:42 UTC 2012


Gilad Chaplik has submitted this change and it was merged.

Change subject: core: Fix getQuotaConsumptionParameters redundant calls
......................................................................


core: Fix getQuotaConsumptionParameters redundant calls

The getQuotaConsumptionParameters method was called 3 time during the
command lifetime.

A field holding the consumptionParameters was added and the value is
saved after the first call.

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

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic64c7bd3352df49f61902bf4f749c7475e402bcc
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: ofri masad <omasad at redhat.com>



More information about the Engine-commits mailing list