ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-14334 On service config page config property can be overridden multiple times for same config group. (ababiichuk)
Date Thu, 10 Dec 2015 21:07:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 98ce26c59 -> 819f5ecfd


AMBARI-14334 On service config page config property can be overridden multiple times for same
config group. (ababiichuk)


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

Branch: refs/heads/branch-2.2
Commit: 819f5ecfd0f6be7ecae65be8ff323dc7b81b499c
Parents: 98ce26c
Author: AndriyBabiychuk <babiychukandrey@gmail.com>
Authored: Thu Dec 10 22:49:16 2015 +0200
Committer: AndriyBabiychuk <babiychukandrey@gmail.com>
Committed: Thu Dec 10 22:49:23 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/mixins/main/service/configs/config_overridable.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/819f5ecf/ambari-web/app/mixins/main/service/configs/config_overridable.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/main/service/configs/config_overridable.js b/ambari-web/app/mixins/main/service/configs/config_overridable.js
index ad9b962..6280df1 100644
--- a/ambari-web/app/mixins/main/service/configs/config_overridable.js
+++ b/ambari-web/app/mixins/main/service/configs/config_overridable.js
@@ -92,7 +92,7 @@ App.ConfigOverridable = Em.Mixin.create({
     }
     var result = [];
     availableConfigGroups.forEach(function (group) {
-      if (!group.get('isDefault') && (!alreadyOverriddenGroups.length || !alreadyOverriddenGroups.contains(group.name)))
{
+      if (!group.get('isDefault') && (!alreadyOverriddenGroups.length || !alreadyOverriddenGroups.contains(Em.get(group,
'name')))) {
         result.push(group);
       }
     }, this);


Mime
View raw message