Browse Source

AMBARI-6208. Nagios 'Restart all components' button does not work. Additional patch (alexantonenko)

Alex Antonenko 11 years ago
parent
commit
76c4c4a5a4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ambari-web/app/controllers/main/service/item.js

+ 1 - 2
ambari-web/app/controllers/main/service/item.js

@@ -208,9 +208,8 @@ App.MainServiceItemController = Em.Controller.extend({
       confirmButton: Em.I18n.t('services.service.restartAll.confirmButton'),
       additionalWarningMsg: this.get('content.passiveState') === 'OFF' ? Em.I18n.t('services.service.restartAll.warningMsg.turnOnMM').format(serviceDisplayName): null
      });
-    var staleConfigsOnly = App.Service.find(serviceName).get('serviceTypes').contains('MONITORING');
     return App.showConfirmationFeedBackPopup(function(query, runMmOperation) {
-      batchUtils.restartAllServiceHostComponents(serviceName, staleConfigsOnly, query, runMmOperation);
+      batchUtils.restartAllServiceHostComponents(serviceName, false, query, runMmOperation);
     }, bodyMessage);
   },