Ver Fonte

AMBARI-1345. Alerts are not showing up at all in Service pages. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1442811 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako há 12 anos atrás
pai
commit
b1c401d323
2 ficheiros alterados com 3 adições e 1 exclusões
  1. 2 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/controllers/global/cluster_controller.js

+ 2 - 0
CHANGES.txt

@@ -248,6 +248,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1345. Alerts are not showing up at all in Service pages. (yusaku)
+
  AMBARI-1346. The number of task trackers does not reflect the actual number
  in MapReduce service summary after new TaskTrackers have been added until
  page refresh. (yusaku)

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

@@ -191,7 +191,7 @@ App.ClusterController = Em.Controller.extend({
       if (lastSlash > -1) {
         nagiosUrl = nagiosUrl.substring(0, lastSlash);
       }
-      var dataUrl = this.getUrl('/data/alerts/alerts.json', '/host_components?HostRoles/component_name=NAGIOS_SERVER&fields=HostRoles/nagios_alerts');
+      var dataUrl = this.getUrl('/data/alerts/alerts.json', '/host_components?fields=HostRoles/nagios_alerts&HostRoles/component_name=NAGIOS_SERVER');
       var ajaxOptions = {
         dataType:"json",
         context:this,