Sfoglia il codice sorgente

AMBARI-3066 Host checks should be skipped on failed to register host. (atkach)

atkach 12 anni fa
parent
commit
2a8ea2bd61
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ambari-web/app/views/wizard/step3_view.js

+ 1 - 1
ambari-web/app/views/wizard/step3_view.js

@@ -53,7 +53,7 @@ App.WizardStep3View = Em.View.extend({
     } else if (this.get('controller.isHostHaveWarnings')) {
       this.set('status', 'alert-warn');
       this.set('linkText', Em.I18n.t('installer.step3.warnings.linkText'));
-      this.set('message', Em.I18n.t('installer.step3.warnings.fails').format(hosts.length, failedHosts));
+      this.set('message', Em.I18n.t('installer.step3.warnings.fails').format(hosts.length - failedHosts));
     } else {
       this.set('status', 'alert-success');
       this.set('linkText', Em.I18n.t('installer.step3.noWarnings.linkText'));