Repository: ambari
Updated Branches:
  refs/heads/trunk c802a2981 -> 787933664


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/78793366
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/78793366
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/78793366

Branch: refs/heads/trunk
Commit: 78793366447c59db8c6deac3c1ce3b69da8ed268
Parents: c802a29
Author: Aravindan Vijayan <[email protected]>
Authored: Tue Aug 15 14:27:13 2017 -0700
Committer: Aravindan Vijayan <[email protected]>
Committed: Tue Aug 15 14:27:13 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/78793366/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 e20fe7e..0c40fd7 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