Browse Source

CDH-79719 Fix JavaScript syntax error in apiHelper.js

(cherry picked from commit 32bcc40905d4fa61ad3700d60ec217c1378ce8e9)

Change-Id: Ia4fe7267cbc329624460997fcc35b6015fe9a336
Ying Chen 6 years ago
parent
commit
506e4a2084
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/apiHelper.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/apiHelper.js

@@ -954,7 +954,7 @@ var ApiHelper = (function () {
       queryMetric('round((go_memstats_alloc_bytes / go_memstats_sys_bytes) * 100)'), // Memory percentage
       queryMetric('round((go_memstats_alloc_bytes / go_memstats_sys_bytes) * 100)'), // IO percentage
       queryMetric('impala_queries_count{datawarehouse="' + options.clusterName + '"}'), // Sum of all queries in flight (currently total query executed for testing purpose)
-      queryMetric('impala_queries{datawarehouse="' + options.clusterName + '"}'), // Queued queries
+      queryMetric('impala_queries{datawarehouse="' + options.clusterName + '"}') // Queued queries
     ).done(function () {
       var timestampIndex = {};
       for (var j = 0; j < arguments.length; j++) {