ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-6208. Nagios 'Restart all components' button does not work. Additional patch (alexantonenko)
Date Thu, 26 Jun 2014 17:08:31 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 18596f1b0 -> 76c4c4a5a


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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/76c4c4a5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/76c4c4a5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/76c4c4a5

Branch: refs/heads/trunk
Commit: 76c4c4a5a404db7f77104dc4103e60ed63d15cb8
Parents: 18596f1
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Jun 26 19:58:58 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Jun 26 19:58:58 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/item.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/76c4c4a5/ambari-web/app/controllers/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/item.js b/ambari-web/app/controllers/main/service/item.js
index 5c591b1..f1dafda 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/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);
   },
 


Mime
View raw message