Explorar o código

AMBARI-2751: Hosts confirmation ends with warning "Service ntpd is not running on hosts", but it's running. (jaimin)

Jaimin Jetly %!s(int64=12) %!d(string=hai) anos
pai
achega
e871c72f6f
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

@@ -775,7 +775,7 @@ App.WizardStep3Controller = Em.Controller.extend({
       if (_host.Hosts.last_agent_env.hostHealth && _host.Hosts.last_agent_env.hostHealth.liveServices) {
 
         _host.Hosts.last_agent_env.hostHealth.liveServices.forEach(function (service) {
-          if (service.status === 'Healthy') {
+          if (service.status === 'Unhealthy') {
             warning = warnings.filterProperty('category', 'services').findProperty('name', service.name);
             if (warning) {
               warning.hosts.push(_host.Hosts.host_name);