You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/07/03 12:32:35 UTC

[ambari] branch branch-2.7 updated: AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale

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

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


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 177450b  AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale
177450b is described below

commit 177450b7449bcc95c5feb42850c8fc0c39fe491d
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Tue Jul 3 14:14:16 2018 +0300

    AMBARI-24236 Ambari UI "NEXT" button is disabled for add service step of Spectrum Scale
---
 ambari-web/app/mixins/wizard/assign_master_components.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ambari-web/app/mixins/wizard/assign_master_components.js b/ambari-web/app/mixins/wizard/assign_master_components.js
index 2ac2a59..25bf86c 100644
--- a/ambari-web/app/mixins/wizard/assign_master_components.js
+++ b/ambari-web/app/mixins/wizard/assign_master_components.js
@@ -1185,11 +1185,11 @@ App.AssignMasterComponents = Em.Mixin.create(App.HostComponentValidationMixin, A
     this.getRecommendedHosts({
       hosts: hostNames,
       components: this.getCurrentComponentHostMap()
-    }).then(function() {
+    }).done(function() {
       self.validateSelectedHostComponents({
         hosts: hostNames,
         blueprint: self.get('recommendations')
-      }).then(function() {
+      }).always(function() {
         if (callback) {
           callback();
         }
@@ -1199,7 +1199,7 @@ App.AssignMasterComponents = Em.Mixin.create(App.HostComponentValidationMixin, A
           self.recommendAndValidate(callback);
         }
       });
-    }, true);
+    });
   },
 
   getCurrentComponentHostMap: function() {