You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2018/06/11 17:39:14 UTC

[ambari] branch trunk updated: AMBARI-24075. Deploy button doesn't show in Review Page of Move Master Wizard (akovalenko)

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

akovalenko 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 e534355  AMBARI-24075. Deploy button doesn't show in Review Page of Move Master Wizard (akovalenko)
e534355 is described below

commit e53435573a78726c7276919581e8ea8feb2b3c1f
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Mon Jun 11 18:19:55 2018 +0300

    AMBARI-24075. Deploy button doesn't show in Review Page of Move Master Wizard (akovalenko)
---
 ambari-web/app/controllers/main/service/reassign/step3_controller.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/main/service/reassign/step3_controller.js b/ambari-web/app/controllers/main/service/reassign/step3_controller.js
index bbc05d1..bce4bb8 100644
--- a/ambari-web/app/controllers/main/service/reassign/step3_controller.js
+++ b/ambari-web/app/controllers/main/service/reassign/step3_controller.js
@@ -317,7 +317,9 @@ App.ReassignMasterWizardStep3Controller = Em.Controller.extend({
     var urlParams = [];
 
     this.get('wizardController.serviceToConfigSiteMap')[componentName].forEach(function(site){
-      urlParams.push('(type=' + site + '&tag=' + data.Clusters.desired_configs[site].tag + ')');
+      if (data.Clusters.desired_configs[site]) {
+        urlParams.push('(type=' + site + '&tag=' + data.Clusters.desired_configs[site].tag + ')');
+      }
     });
 
     // specific cases for certain components

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