ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-6491. Default config group name contains 'undefined' instead of service name in Manage Config Groups popup (Max Shepel via alexantonenko)
Date Tue, 15 Jul 2014 17:15:04 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b86433949 -> 662f9bdb8


AMBARI-6491. Default config group name contains 'undefined' instead of service name in Manage
Config Groups popup (Max Shepel via alexantonenko)


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

Branch: refs/heads/trunk
Commit: 662f9bdb8241c82bde1955f1b96c38b914353e3d
Parents: b864339
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Tue Jul 15 20:06:34 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue Jul 15 20:10:47 2014 +0300

----------------------------------------------------------------------
 .../controllers/main/service/manage_config_groups_controller.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/662f9bdb/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
index 25db736..7a292c0 100644
--- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
+++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
@@ -159,7 +159,7 @@ App.ManageConfigGroupsController = Em.Controller.extend({
     var usedHosts = [];
     var unusedHosts = [];
     var serviceName = this.get('serviceName');
-    var serviceDisplayName =  this.get('displayName');
+    var serviceDisplayName =  App.StackService.find().findProperty('serviceName', this.get('serviceName')).get('displayName');
     var defaultConfigGroup = App.ConfigGroup.create({
       name: serviceDisplayName + " Default",
       description: "Default cluster level " + this.get('serviceName') + " configuration",


Mime
View raw message