Repository: ambari Updated Branches: refs/heads/branch-2.4 3fe6f3f9c -> 9950bcf3a
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/9950bcf3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9950bcf3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9950bcf3 Branch: refs/heads/branch-2.4 Commit: 9950bcf3a542090660959bb97b8402e454a3a658 Parents: 3fe6f3f Author: Richard Zang <[email protected]> Authored: Tue Jul 19 11:38:19 2016 -0700 Committer: Richard Zang <[email protected]> Committed: Tue Jul 19 11:46:31 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/9950bcf3/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); }
