Change in ovirt-engine[master]: core: avoid unneeded db calls on update of BlankTemplate

mlipchuk at redhat.com mlipchuk at redhat.com
Thu Jan 10 09:03:05 UTC 2013


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: avoid unneeded db calls on update of BlankTemplate
......................................................................


core: avoid unneeded db calls on update of BlankTemplate

When trying to edit a blank template, there's no need to load the
template from the DB before failing the operation.

Change-Id: Ia66a00303c19d9fe77fbd57021227f08ad5d160b
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmTemplateCommand.java
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Maor Lipchuk: Looks good to me, approved
  Liron Aravot: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia66a00303c19d9fe77fbd57021227f08ad5d160b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list