Repository: ambari Updated Branches: refs/heads/branch-2.2 e7e6c91d0 -> 9c13134c2
AMBARI-15352 Property 'CPU Scheduling' not present for Yarn configs in Ambari2.2.2.0.(ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9c13134c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9c13134c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9c13134c Branch: refs/heads/branch-2.2 Commit: 9c13134c20d33aae0d8e9a18034f398c1f71534d Parents: d614bd1 Author: ababiichuk <[email protected]> Authored: Wed Mar 9 15:38:19 2016 +0200 Committer: ababiichuk <[email protected]> Committed: Wed Mar 9 18:36:40 2016 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9c13134c/ambari-web/app/utils/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js index c7c061e..ec8299f 100644 --- a/ambari-web/app/utils/config.js +++ b/ambari-web/app/utils/config.js @@ -965,12 +965,15 @@ App.config = Em.Object.create({ if (!t.get('isAdvanced') && t.get('serviceName') === serviceName) { t.get('sections').forEach(function (s) { s.get('subSections').forEach(function (ss) { - properties = properties.concat(ss.get('configProperties')); + var configIds = ss.get('configProperties').map(function(p) { + return App.config.configId(p.get('name'), p.get('filename')); + }); + properties = properties.concat(configIds); }); }); } }, this); - return properties.mapProperty('id'); + return properties; }, /**
