Commit 38f23a14 authored by jan.koester's avatar jan.koester
Browse files

test

parent 9144a56b
Loading
Loading
Loading
Loading
Loading
+2 −3
Changes for src/admin.cpp: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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)