Browse Source

AMBARI-3724 Incorrect host status when slave down. (atkach)

atkach 11 years ago
parent
commit
e508fdb4e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/models/host.js

+ 1 - 1
ambari-web/app/models/host.js

@@ -133,7 +133,7 @@ App.Host = DS.Model.extend({
       'UNKNOWN': 'health-status-DEAD-YELLOW',
       'UNKNOWN': 'health-status-DEAD-YELLOW',
       'HEALTHY': 'health-status-LIVE',
       'HEALTHY': 'health-status-LIVE',
       'UNHEALTHY': 'health-status-DEAD-RED',
       'UNHEALTHY': 'health-status-DEAD-RED',
-      'ALERT ': 'health-status-DEAD-ORANGE'
+      'ALERT': 'health-status-DEAD-ORANGE'
     };
     };
     return statusMap[this.get('healthStatus')] || 'health-status-DEAD-YELLOW';
     return statusMap[this.get('healthStatus')] || 'health-status-DEAD-YELLOW';
   }.property('healthStatus'),
   }.property('healthStatus'),