mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fixed bug when node is disabled
This commit is contained in:
parent
d8daf9f063
commit
4662fba06a
@ -2489,6 +2489,10 @@ class ConsoleSupervisor
|
||||
$nodes = $cluster->getNodes();
|
||||
|
||||
foreach ($nodes as $node) {
|
||||
if ($node['status'] == HA_DISABLED) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$cluster_master = $cluster->isClusterMaster($node);
|
||||
$db_master = $cluster->isDBMaster($node);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user