浏览代码

AMBARI-4001 Ambari alerts not even being got from API. (atkach)

atkach 11 年之前
父节点
当前提交
81fdc69aa0
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ambari-web/app/controllers/global/cluster_controller.js

+ 3 - 3
ambari-web/app/controllers/global/cluster_controller.js

@@ -165,7 +165,7 @@ App.ClusterController = Em.Controller.extend({
       }
       return null;
     }
-  }.property('App.router.updateController.isUpdated', 'dataLoadList.services', 'dataLoadList.hosts','nagiosWebProtocol'),
+  }.property('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics', 'dataLoadList.hosts','nagiosWebProtocol'),
 
   nagiosWebProtocol: function () {
     var properties = this.get('ambariProperties');
@@ -187,11 +187,11 @@ App.ClusterController = Em.Controller.extend({
 
   isNagiosInstalled:function () {
     return !!App.Service.find().findProperty('serviceName', 'NAGIOS');
-  }.property('App.router.updateController.isUpdated', 'dataLoadList.services'),
+  }.property('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics'),
 
   isGangliaInstalled:function () {
     return !!App.Service.find().findProperty('serviceName', 'GANGLIA');
-  }.property('App.router.updateController.isUpdated', 'dataLoadList.services'),
+  }.property('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics'),
 
   /**
    * Sorted list of alerts.