ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-21661 Services are not started for the correct count of nodes selected in the Hosts list. (ababiichuk)
Date Fri, 04 Aug 2017 15:10:42 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 2258b1063 -> b175d8f69


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/trunk
Commit: b175d8f697c8690e719c8a3f8dbcd20df073d2a6
Parents: 2258b10
Author: ababiichuk <ababiichuk@hortonworks.com>
Authored: Fri Aug 4 16:37:10 2017 +0300
Committer: ababiichuk <ababiichuk@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',


Mime
View raw message