Loading src/admin.cpp +2 −3 Changes for src/admin.cpp: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -601,9 +601,8 @@ namespace authdb { std::lock_guard<std::mutex> lock(g_Cluster->getClientMutex()); auto health = pclient->get_cluster_status(); // Include local node in the counts (+1 for ourselves) uint32_t total = health.nodes_total + 1; uint32_t online = health.nodes_online + 1; uint32_t total = health.nodes_total; uint32_t online = health.nodes_online; const char *statusStr = "OK"; if (health.overall == paritypp::node_status::DEGRADED) Loading Loading
src/admin.cpp +2 −3 Changes for src/admin.cpp: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -601,9 +601,8 @@ namespace authdb { std::lock_guard<std::mutex> lock(g_Cluster->getClientMutex()); auto health = pclient->get_cluster_status(); // Include local node in the counts (+1 for ourselves) uint32_t total = health.nodes_total + 1; uint32_t online = health.nodes_online + 1; uint32_t total = health.nodes_total; uint32_t online = health.nodes_online; const char *statusStr = "OK"; if (health.overall == paritypp::node_status::DEGRADED) Loading