ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-14135 Unable to delete config group in Install Wizard (akovalenko)
Date Tue, 01 Dec 2015 16:07:53 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c5d7cf643 -> 108fc4499


AMBARI-14135 Unable to delete config group in Install Wizard (akovalenko)


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

Branch: refs/heads/trunk
Commit: 108fc4499a545ee6f60eca26eefec7f5192c6b07
Parents: c5d7cf6
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Tue Dec 1 17:58:45 2015 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Tue Dec 1 18:07:33 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/108fc449/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 824b704..25d3c62 100644
--- a/ambari-web/app/mixins/main/service/configs/config_overridable.js
+++ b/ambari-web/app/mixins/main/service/configs/config_overridable.js
@@ -133,8 +133,11 @@ App.ConfigOverridable = Em.Mixin.create({
           var newConfigGroup = {
             id: serviceName + "_NEW_" + configGroups.length,
             name: newConfigGroupName,
+            is_default: false,
+            parent_config_group_id: App.ServiceConfigGroup.getParentConfigGroupId(serviceId),
             description: Em.I18n.t('config.group.description.default').format(new Date().toDateString()),
             service_id: serviceId,
+            service_name: serviceId,
             hosts: [],
             desired_configs: []
           };


Mime
View raw message