Przeglądaj źródła

AMBARI-3456 Text of installation stage doesn't correspond to reality. (ababiichuk)

aBabiichuk 11 lat temu
rodzic
commit
446f86b210

+ 3 - 0
ambari-web/app/controllers/wizard/step9_controller.js

@@ -692,6 +692,9 @@ App.WizardStep9Controller = Em.Controller.extend({
         this.onInProgressPerHost(actionsPerHost, _host);  // current running action for a host
         totalProgress += self.progressPerHost(actionsPerHost, _host);
       }
+      if (_host.get('progress') == '33') {
+        _host.set('message', this.t('installer.step9.host.status.nothingToInstall'));
+      }
     }, this);
     totalProgress = Math.floor(totalProgress / this.hosts.length);
     this.set('progress', totalProgress.toString());