Explorar o código

AMBARI-2585. Host Check report show hosts without issues. (Aleksandr Kovalenko via srimanth)

Srimanth Gunturi %!s(int64=12) %!d(string=hai) anos
pai
achega
be7f13762c
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

@@ -1015,7 +1015,7 @@ App.WizardStep3Controller = Em.Controller.extend({
           var newContent = '';
           newContent += Em.I18n.t('installer.step3.hostWarningsPopup.report.header') + new Date;
           newContent += Em.I18n.t('installer.step3.hostWarningsPopup.report.hosts');
-          newContent += warningsByHost.mapProperty('name').join(' ');
+          newContent += warningsByHost.filterProperty('warnings.length').mapProperty('name').join(' ');
           if (content.findProperty('category', 'fileFolders').warnings.length) {
             newContent += Em.I18n.t('installer.step3.hostWarningsPopup.report.fileFolders');
             newContent += content.findProperty('category', 'fileFolders').warnings.mapProperty('name').join(' ') +  Em.I18n.t('installer.step3.hostWarningsPopup.report.folder');