This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 9e9ddf752f36aa9340d6dfdc23ecccfcd646fc53
Author: Ihor Lukianov <ihor.lukia...@cloudera.com>
AuthorDate: Thu Jun 27 12:37:11 2019 +0300

    AMBARI-25320 Backport AMBARI-24872 and AMBARI-24723 for ambari 2.7.4 - 
small adjustment(ihor lukianov)
---
 ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js 
b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
index a5796b3..ec5ee10 100644
--- a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
+++ b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js
@@ -259,7 +259,7 @@ define([
             var instanceId = typeof target.templatedCluster == 'undefined'  ? 
'' : '&instanceId=' + target.templatedCluster;
             var appId = target.app;
             if ((appId === 'nifi' || appId === 'druid') && (!instanceId || 
instanceId === '&instanceId=')) {
-                instanceId = "%"
+                instanceId = "&instanceId=%"
             }
             var precision = target.precision === 'default' || typeof 
target.precision == 'undefined'  ? '' : '&precision='
             + target.precision;

Reply via email to