mirror of https://gitee.com/bigwinds/arangodb
fixed wrong ui cluster health information (#3151)
This commit is contained in:
parent
7d72f13b0f
commit
696bd7357b
|
@ -1,6 +1,8 @@
|
|||
devel
|
||||
-----
|
||||
|
||||
* fixed wrong ui cluster health information
|
||||
|
||||
* fixed issue #3070: Add index in _jobs collection
|
||||
|
||||
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue