Forráskód Böngészése

AMBARI-4049 Registration fail of host should be handled more gracefully. (ababiichuk)

aBabiichuk 11 éve
szülő
commit
cf811e2c2f

+ 1 - 1
ambari-web/app/controllers/wizard/step3_controller.js

@@ -363,7 +363,7 @@ App.WizardStep3Controller = Em.Controller.extend({
         }
         }
       }
       }
 
 
-      if (data.hostsStatus.someProperty('status', 'DONE') || data.hostsStatus.someProperty('status', 'FAILED')) {
+      if (data.status == 'ERROR' || data.hostsStatus.someProperty('status', 'DONE') || data.hostsStatus.someProperty('status', 'FAILED')) {
         // kicking off registration polls after at least one host has succeeded
         // kicking off registration polls after at least one host has succeeded
         this.startRegistration();
         this.startRegistration();
       }
       }