Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-21450 e33a274ba -> 5efb92dc1


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/24d7689f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/24d7689f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/24d7689f

Branch: refs/heads/branch-feature-AMBARI-21450
Commit: 24d7689f00ba2a6d7b841dbba7ce16d12915f93b
Parents: b9e16b9
Author: ababiichuk <ababiic...@hortonworks.com>
Authored: Fri Aug 4 16:37:10 2017 +0300
Committer: ababiichuk <ababiic...@hortonworks.com>
Committed: Fri Aug 4 18:21:23 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/24d7689f/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 a43f9f1..d38bf2c 100644
--- a/ambari-web/app/controllers/main/host/bulk_operations_controller.js
+++ b/ambari-web/app/controllers/main/host/bulk_operations_controller.js
@@ -915,7 +915,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',

Reply via email to