AMBARI-21661 Services are not started for the correct count of nodes selected in the Hosts list. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b175d8f6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b175d8f6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b175d8f6 Branch: refs/heads/branch-feature-AMBARI-14714 Commit: b175d8f697c8690e719c8a3f8dbcd20df073d2a6 Parents: 2258b10 Author: ababiichuk <ababiic...@hortonworks.com> Authored: Fri Aug 4 16:37:10 2017 +0300 Committer: ababiichuk <ababiic...@hortonworks.com> Committed: Fri Aug 4 18:12:04 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host/bulk_operations_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b175d8f6/ambari-web/app/controllers/main/host/bulk_operations_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/host/bulk_operations_controller.js b/ambari-web/app/controllers/main/host/bulk_operations_controller.js index 34d61d8..bcd0af0 100644 --- a/ambari-web/app/controllers/main/host/bulk_operations_controller.js +++ b/ambari-web/app/controllers/main/host/bulk_operations_controller.js @@ -1115,7 +1115,7 @@ App.BulkOperationsController = Em.Controller.extend({ // @todo remove using external controller switch(selection) { case 's': - hostsNames = App.router.get('mainHostController.content').filterProperty('selected').mapProperty('hostName'); + hostsNames = App.db.getSelectedHosts('mainHostController'); if(hostsNames.length > 0){ queryParams.push({ key: 'Hosts/host_name',