Change in ovirt-engine[master]: Avoid updating fields when uneccessary

oourfali at redhat.com oourfali at redhat.com
Tue Dec 23 13:17:02 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: Avoid updating fields when uneccessary
......................................................................


Avoid updating fields when uneccessary

When filling lists of hosts the change event is raised. To avoid
updating fields when we don't need it, do this update only in the right
state - if discovered host form is enabled for example, this to avoid
overriding the fields while fetching hosts info from foreman.

Change-Id: I7de552c03e361b5186c6781eabd6dc4da34f9fb5
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/NewHostModel.java
1 file changed, 16 insertions(+), 12 deletions(-)

Approvals:
  Yaniv Bronhaim: Verified
  Daniel Erez: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7de552c03e361b5186c6781eabd6dc4da34f9fb5
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list