Explorar o código

AMBARI-6375. Maintenance mode: canNOT be turned on via Bulk Operations on selected hosts (other bulk operations are broken as well) (alexantonenko)

Alex Antonenko %!s(int64=11) %!d(string=hai) anos
pai
achega
5c350746be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/views/main/host.js

+ 1 - 1
ambari-web/app/views/main/host.js

@@ -387,7 +387,7 @@ App.MainHostView = App.TableView.extend(App.TableServerProvider, {
     var queryParams = [];
     switch(selection) {
       case 's':
-        hostsNames = App.db.data.app.tables.filterConditions[this.get('controller.name')].findProperty('iColumn', 10).value;
+        hostsNames = this.get('selectedHosts');
         if(hostsNames.length > 0){
           queryParams.push({
             key: 'Hosts/host_name',