Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 15bf0fa27 -> 2d1af8e4f


AMBARI-21657 : Ambari does not display metric data on widgets when the JMX path 
contains the '-' character. (avijayan)


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

Branch: refs/heads/branch-2.6
Commit: 2d1af8e4fe0158a38c0c77e92330e266fd44ba84
Parents: 15bf0fa
Author: Aravindan Vijayan <[email protected]>
Authored: Tue Aug 15 14:26:45 2017 -0700
Committer: Aravindan Vijayan <[email protected]>
Committed: Tue Aug 15 14:26:45 2017 -0700

----------------------------------------------------------------------
 ambari-web/app/mixins/common/widgets/widget_mixin.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2d1af8e4/ambari-web/app/mixins/common/widgets/widget_mixin.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/widgets/widget_mixin.js 
b/ambari-web/app/mixins/common/widgets/widget_mixin.js
index 65d6160..88b8b78 100644
--- a/ambari-web/app/mixins/common/widgets/widget_mixin.js
+++ b/ambari-web/app/mixins/common/widgets/widget_mixin.js
@@ -42,7 +42,7 @@ App.WidgetMixin = Ember.Mixin.create({
    * @type {RegExp}
    * @const
    */
-  VALUE_NAME_REGEX: /(\w+\s+\w+)?[\w\.\,\:\=\[\]]+/g,
+  VALUE_NAME_REGEX: /(\w+\s+\w+)?[\w\.\,\-\:\=\[\]]+/g,
 
   /**
    * @type {string}

Reply via email to