Repository: ambari
Updated Branches:
  refs/heads/trunk 18182c54e -> e3385212a


AMBARI-17754 - Issue with modify configs for hive service (rzang)


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

Branch: refs/heads/trunk
Commit: e3385212aecc1f79d1292b2945533a4902f4c131
Parents: 18182c5
Author: Richard Zang <[email protected]>
Authored: Tue Jul 19 11:38:19 2016 -0700
Committer: Richard Zang <[email protected]>
Committed: Tue Jul 19 11:43:40 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/enhanced_configs.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e3385212/ambari-web/app/mixins/common/configs/enhanced_configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/enhanced_configs.js 
b/ambari-web/app/mixins/common/configs/enhanced_configs.js
index 46744ba..4436cbb 100644
--- a/ambari-web/app/mixins/common/configs/enhanced_configs.js
+++ b/ambari-web/app/mixins/common/configs/enhanced_configs.js
@@ -374,7 +374,8 @@ App.EnhancedConfigsMixin = 
Em.Mixin.create(App.ConfigWithOverrideRecommendationP
         if (Em.isNone(recommended)) {
           stepConfig.get('configs').removeObject(config);
         } else if (Em.isNone(initial)) {
-          this._addConfigByRecommendation(stepConfig.get('configs'), Em.get(p, 
'propertyName'), Em.get(p, 'propertyFileName'), recommended);
+          
stepConfig.get('configs').pushObject(this._createNewProperty(Em.get(p, 
'propertyName'),
+            Em.get(p, 'propertyFileName'),Em.get(p, 'serviceName'), 
recommended, Em.get(p, 'parentConfigs')));
         } else {
           Em.set(config, 'value', recommended);
         }

Reply via email to