소스 검색

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

Alex Antonenko 11 년 전
부모
커밋
76c4c4a5a4
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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);
   },