ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-12664. Custom property for TEZ disappeared after save (alexantonenko)
Date Fri, 07 Aug 2015 09:03:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 ef222969d -> 29d27c6da


AMBARI-12664. Custom property for TEZ disappeared after save (alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 29d27c6da3dc0cf0df9af755c4c1d8a02dcc5431
Parents: ef22296
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Aug 6 20:30:15 2015 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Aug 7 12:03:02 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/29d27c6d/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index 1b25524..28bd696 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -275,7 +275,7 @@ App.config = Em.Object.create({
       for (var index in properties) {
         var id = this.configId(index, siteConfig.type);
         var configsPropertyDef = this.get('preDefinedSitePropertiesMap')[id];
-        var advancedConfig = App.StackConfigProperty.find(id);
+        var advancedConfig = App.StackConfigProperty.find().findProperty('id', id);
 
         var template = this.createDefaultConfig(index, filename, !!advancedConfig, configsPropertyDef);
         var serviceConfigObj = this.mergeStaticProperties(template, advancedConfig);


Mime
View raw message