ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [17/55] [abbrv] ambari git commit: AMBARI-18970. Unable to load Grafana Graphs in IE11. (Vivek Subramanian via Jaimin)
Date Tue, 29 Nov 2016 17:56:24 GMT
AMBARI-18970. Unable to load Grafana Graphs in IE11. (Vivek Subramanian via Jaimin)


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

Branch: refs/heads/branch-feature-AMBARI-18634
Commit: a8d6f03f89ff610926f997d6f41f915052a17e88
Parents: 90967bc
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Wed Nov 23 09:26:17 2016 -0800
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Wed Nov 23 09:26:17 2016 -0800

----------------------------------------------------------------------
 .../ambari-metrics-grafana/ambari-metrics/datasource.js        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a8d6f03f/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
index 626439d..eb883e8 100644
--- a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
+++ b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
@@ -604,7 +604,7 @@ define([
                 });
           }
           //Templated Variables for Storm Components per Topology
-          if (interpolated.includes("stormComponent")) {
+          if (interpolated.indexOf("stormComponent") >= 0) {
             var componentName = interpolated.substring(0,interpolated.indexOf('.'));
             return this.initMetricAppidMapping()
                 .then(function () {
@@ -657,7 +657,7 @@ define([
                 });
           };
           //Templated Variables for Storm Topics per Topology
-          if (interpolated.includes("stormTopic")) {
+          if (interpolated.indexOf("stormTopic") >= 0) {
             var topicName = interpolated.substring(0,interpolated.indexOf('.'));
             return this.getStormEntities().then(function () {
               var topicNames = Object.keys(stormEntities[topicName]);
@@ -669,7 +669,7 @@ define([
             });
           }
           //Templated Variables for Storm Partitions per Topic
-          if (interpolated.includes("stormPartition")) {
+          if (interpolated.indexOf("stormPartition") >= 0) {
             var topicN, topologyN;
             return this.getStormEntities().then(function () {
               var partitionNames = _.uniq(stormEntities[topologyN][topicN]);


Mime
View raw message