Browse Source

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

aBabiichuk 11 năm trước cách đây
mục cha
commit
cf811e2c2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ambari-web/app/controllers/wizard/step3_controller.js

+ 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
         this.startRegistration();
       }