Bläddra i källkod

AMBARI-12174 Unable to proceed from step 9 of installer. (ababiichuk)

aBabiichuk 10 år sedan
förälder
incheckning
0376eb1a3c
1 ändrade filer med 3 tillägg och 4 borttagningar
  1. 3 4
      ambari-web/app/controllers/wizard/step9_controller.js

+ 3 - 4
ambari-web/app/controllers/wizard/step9_controller.js

@@ -769,9 +769,8 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
    */
   setFinishState: function (polledData) {
     if (this.get('content.cluster.status') === 'INSTALLED') {
-      var self = this;
-      Em.run.next(function(){
-        self.changeParseHostInfo(this.isServicesStarted(polledData));
+      Em.run.next(this, function(){
+        this.changeParseHostInfo(this.isServicesStarted(polledData));
       });
       return;
     } else if (this.get('content.cluster.status') === 'PENDING') {
@@ -787,7 +786,7 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
   },
 
   /**
-   * @param polledData Josn data retrieved from API
+   * @param polledData JSON data retrieved from API
    * @returns {bool} Has "Start All Services" request completed successfully
    * @method isServicesStarted
    */