Updated Branches:
  refs/heads/branch-1.4.2 a7f86fb3d -> 249ba1d5e

AMBARI-3769 Visible HbaseMaster in components list after it was removed. 
(atkach)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/249ba1d5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/249ba1d5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/249ba1d5

Branch: refs/heads/branch-1.4.2
Commit: 249ba1d5efedf58a9620a7c12e7de8581009d4b3
Parents: a7f86fb
Author: atkach <andrey91...@gmail.com>
Authored: Thu Nov 14 19:40:24 2013 +0200
Committer: Yusaku Sako <yus...@hortonworks.com>
Committed: Thu Nov 14 11:39:01 2013 -0800

----------------------------------------------------------------------
 ambari-web/app/mappers/hosts_mapper.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/249ba1d5/ambari-web/app/mappers/hosts_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/hosts_mapper.js 
b/ambari-web/app/mappers/hosts_mapper.js
index ac3f55c..81d1f45 100644
--- a/ambari-web/app/mappers/hosts_mapper.js
+++ b/ambari-web/app/mappers/hosts_mapper.js
@@ -173,6 +173,9 @@ App.hostsMapper = App.QuickDataMapper.create({
       if (JSON.stringify(current.disk_info) !== 
JSON.stringify(previous.disk_info)) {
         result.disk_info = current.disk_info;
       }
+      if (JSON.stringify(current.host_components) !== 
JSON.stringify(previous.host_components)) {
+        result.host_components = current.host_components;
+      }
       result.last_heart_beat_time = current.last_heart_beat_time;
       return result;
     }

Reply via email to