Explorar o código

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

Andrii Tkach %!s(int64=8) %!d(string=hai) anos
pai
achega
1cd0d555db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/wizard/step3_controller.js

+ 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) {