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

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


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 3b77ac6  AMBARI-25367. backport of Heatmap Data Issues
     new 0af92f8  Merge pull request #3074 from hiveww/AMBARI-25367-branch-26
3b77ac6 is described below

commit 3b77ac6a0c1ddab42ddcaa649b8236391a62d890
Author: Alex Antonenko <aantone...@hortonworks.com>
AuthorDate: Tue Aug 27 17:10:30 2019 +0300

    AMBARI-25367. backport of Heatmap Data Issues
---
 ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json 
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json
index 3176354..54e523e 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json
@@ -25,7 +25,7 @@
           "values": [
             {
               "name": "Host Disk Space Used %",
-              "value": "${((disk_total-disk_free)/disk_total)*100}"
+              "value": "${((disk_total - disk_free)/disk_total)*100}"
             }
           ],
           "properties": {
@@ -58,7 +58,7 @@
           "values": [
             {
               "name": "Host Memory Used %",
-              "value": "${((mem_total-mem_free-mem_cached)/mem_total)*100}"
+              "value": "${((mem_total - mem_free - mem_cached)/mem_total)*100}"
             }
           ],
           "properties": {

Reply via email to