ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [46/49] ambari git commit: AMBARI-19728: Custom command name rendered incorrectly (dili)
Date Fri, 27 Jan 2017 18:17:57 GMT
AMBARI-19728: Custom command name rendered incorrectly (dili)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 77937e383d6ed0e582192e3a75913f60a32dc0eb
Parents: 34d029b
Author: Di Li <dili@apache.org>
Authored: Fri Jan 27 11:19:29 2017 -0500
Committer: Di Li <dili@apache.org>
Committed: Fri Jan 27 11:19:29 2017 -0500

----------------------------------------------------------------------
 ambari-web/app/utils/helper.js       | 1 +
 ambari-web/test/utils/helper_test.js | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/77937e38/ambari-web/app/utils/helper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/helper.js b/ambari-web/app/utils/helper.js
index 927f8a6..f6f2532 100644
--- a/ambari-web/app/utils/helper.js
+++ b/ambari-web/app/utils/helper.js
@@ -592,6 +592,7 @@ App.format = {
         name = name.split(separator).map(function(singleName) {
           return this.normalizeName(singleName.toUpperCase());
         }, this).join(' ');
+        break;
       }
     }
     return name.capitalize();

http://git-wip-us.apache.org/repos/asf/ambari/blob/77937e38/ambari-web/test/utils/helper_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/helper_test.js b/ambari-web/test/utils/helper_test.js
index b438a7a..4b9ec36 100644
--- a/ambari-web/test/utils/helper_test.js
+++ b/ambari-web/test/utils/helper_test.js
@@ -298,6 +298,8 @@ describe('utils/helper', function() {
           'app-timeline-server': 'App Timeline Server',
           'APP TIMELINE SERVER': 'App Timeline Server',
           'app timeline server': 'App Timeline Server',
+          'run-hcat-sync': 'Run HCat Client Sync',
+          'rUN_hCAt_syNc': 'Run HCat Client Sync',
           'FALCON': 'Falcon',
           'falcon': 'Falcon'
         };


Mime
View raw message