1
0
Fork 0

fixed wrong ui cluster health information (#3151)

This commit is contained in:
Heiko 2017-08-28 14:44:32 +02:00 committed by Frank Celler
parent 7d72f13b0f
commit 696bd7357b
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
devel
-----
* fixed wrong ui cluster health information
* fixed issue #3070: Add index in _jobs collection

View File

@ -112,8 +112,10 @@
if (Object.keys(window.clusterHealth).length !== 0) {
_.each(window.clusterHealth, function (node) {
if (node.Status !== 'GOOD') {
error++;
if (node.Role === 'DBServer' || node.Role === 'Coordinator') {
if (node.Status !== 'GOOD') {
error++;
}
}
});