Updated Branches: refs/heads/trunk 28b95f6fe -> 44f37423a
AMBARI-3943. Installer: config-group host membership in one service effects others. (Denys Buzhor via onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/44f37423 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/44f37423 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/44f37423 Branch: refs/heads/trunk Commit: 44f37423a669c8fe200ffb6b1020b31f78dded3b Parents: 28b95f6 Author: Oleg Nechiporenko <[email protected]> Authored: Mon Dec 2 16:07:25 2013 +0200 Committer: Oleg Nechiporenko <[email protected]> Committed: Mon Dec 2 16:07:58 2013 +0200 ---------------------------------------------------------------------- .../controllers/main/service/manage_config_groups_controller.js | 2 +- ambari-web/app/controllers/wizard/step7_controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/44f37423/ambari-web/app/controllers/main/service/manage_config_groups_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js index 5e12222..7dab5a2 100644 --- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js +++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js @@ -210,7 +210,7 @@ App.ManageConfigGroupsController = Em.Controller.extend({ * add hosts callback */ addHostsCallback: function (selectedHosts) { - var group = this.get('selectedConfigGroup'); + var group = this.get('selectedConfigGroup'); if (selectedHosts) { var defaultHosts = group.get('parentConfigGroup.hosts'); var configGroupHosts = group.get('hosts'); http://git-wip-us.apache.org/repos/asf/ambari/blob/44f37423/ambari-web/app/controllers/wizard/step7_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js index 5dbd492..36f3053 100644 --- a/ambari-web/app/controllers/wizard/step7_controller.js +++ b/ambari-web/app/controllers/wizard/step7_controller.js @@ -160,7 +160,7 @@ App.WizardStep7Controller = Em.Controller.extend({ name: "Default", description: "Default cluster level " + service.serviceName + " configuration", isDefault: true, - hosts: hosts, + hosts: Em.copy(hosts), service: Em.Object.create({ id: service.serviceName })
