Quellcode durchsuchen

AMBARI-9815. Move Master Wizard: Deploy blocked after refresh on Review step. (akovalenko)

Aleksandr Kovalenko vor 10 Jahren
Ursprung
Commit
05348ff9e0
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. 9 0
      ambari-web/app/controllers/main/service/reassign_controller.js

+ 9 - 0
ambari-web/app/controllers/main/service/reassign_controller.js

@@ -333,6 +333,15 @@ App.ReassignMasterController = App.WizardController.extend({
     this.set('content.cluster', this.getCluster());
   },
 
+  setCurrentStep: function (currentStep, completed) {
+    this._super(currentStep, completed);
+    App.clusterStatus.setClusterStatus({
+      clusterName: this.get('content.cluster.name'),
+      wizardControllerName: 'reassignMasterController',
+      localdb: App.db.data
+    });
+  },
+
   /**
    * Clear all temporary data
    */