Prechádzať zdrojové kódy

AMBARI-19108 Perf: Web UI can't load json with host check info. (atkach)

Andrii Tkach 8 rokov pred
rodič
commit
1cd0d555db

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

@@ -1081,7 +1081,7 @@ App.WizardStep3Controller = Em.Controller.extend(App.ReloadPopupMixin, {
    */
    */
   getHostCheckTasksSuccess: function (data) {
   getHostCheckTasksSuccess: function (data) {
     if (!data) {
     if (!data) {
-      return;
+      return this.getGeneralHostCheck();
     }
     }
     if (["FAILED", "COMPLETED", "TIMEDOUT"].contains(data.Requests.request_status)) {
     if (["FAILED", "COMPLETED", "TIMEDOUT"].contains(data.Requests.request_status)) {
       if (data.Requests.inputs.indexOf("last_agent_env_check") != -1) {
       if (data.Requests.inputs.indexOf("last_agent_env_check") != -1) {