You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2013/07/08 20:18:53 UTC

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

Updated Branches:
  refs/heads/trunk 22c4f24f8 -> be7f13762


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


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/be7f1376
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/be7f1376
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/be7f1376

Branch: refs/heads/trunk
Commit: be7f13762c95e7a547afb8662a41ace7ea3f983d
Parents: 22c4f24
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Mon Jul 8 11:14:16 2013 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Mon Jul 8 11:14:22 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step3_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/be7f1376/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 2d72a8b..c9b1b20 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/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');