This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 42ceadd  AMBARI-23473 UI option to stop HDFS service doesnt work - JS 
Error
42ceadd is described below

commit 42ceadd4cb947672c5d46b0f899aa8c4af2e29c3
Author: Andrii Tkach <atk...@apache.org>
AuthorDate: Thu Apr 5 16:06:10 2018 +0300

    AMBARI-23473 UI option to stop HDFS service doesnt work - JS Error
---
 ambari-web/app/controllers/main/service/item.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/main/service/item.js 
b/ambari-web/app/controllers/main/service/item.js
index 5e1211b..1802152 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/ambari-web/app/controllers/main/service/item.js
@@ -311,7 +311,7 @@ App.MainServiceItemController = 
Em.Controller.extend(App.SupportClientConfigsDow
 
     // check HDFS NameNode checkpoint before stop service
     if (serviceHealth === 'INSTALLED' && this.hasStartedNameNode()) {
-      this.checkNnLastCheckpointTime(function () {
+      this.checkNnLastCheckpointTime(() => {
         return App.showConfirmationFeedBackPopup((query, runMmOperation) => {
           this.set('isPending', true);
           this.startStopWithMmode(serviceHealth, query, runMmOperation);

-- 
To stop receiving notification emails like this one, please contact
atk...@apache.org.

Reply via email to