Loading src/admin.cpp +0 −14 Changes for src/admin.cpp: 0 added lines, 14 removed lines. Original line number Diff line number Diff line Loading @@ -616,20 +616,6 @@ namespace authdb { json_object *jnodes = json_object_new_array(); // Local node (this node, index -1 / "local") { auto &store = g_Cluster->getStore(); json_object *jn = json_object_new_object(); json_object_object_add(jn, "index", json_object_new_int(-1)); json_object_object_add(jn, "label", json_object_new_string("local")); json_object_object_add(jn, "status", json_object_new_string("OK")); json_object_object_add(jn, "blocks", json_object_new_int(store.total_blocks())); json_object_object_add(jn, "groups", json_object_new_int(store.total_groups())); json_object_object_add(jn, "peers_total", json_object_new_int(health.nodes_total)); json_object_object_add(jn, "peers_online", json_object_new_int(health.nodes_online)); json_object_array_add(jnodes, jn); } // Remote peer nodes for (const auto &[idx, info] : health.node_statuses) { json_object *jn = json_object_new_object(); Loading Loading
src/admin.cpp +0 −14 Changes for src/admin.cpp: 0 added lines, 14 removed lines. Original line number Diff line number Diff line Loading @@ -616,20 +616,6 @@ namespace authdb { json_object *jnodes = json_object_new_array(); // Local node (this node, index -1 / "local") { auto &store = g_Cluster->getStore(); json_object *jn = json_object_new_object(); json_object_object_add(jn, "index", json_object_new_int(-1)); json_object_object_add(jn, "label", json_object_new_string("local")); json_object_object_add(jn, "status", json_object_new_string("OK")); json_object_object_add(jn, "blocks", json_object_new_int(store.total_blocks())); json_object_object_add(jn, "groups", json_object_new_int(store.total_groups())); json_object_object_add(jn, "peers_total", json_object_new_int(health.nodes_total)); json_object_object_add(jn, "peers_online", json_object_new_int(health.nodes_online)); json_object_array_add(jnodes, jn); } // Remote peer nodes for (const auto &[idx, info] : health.node_statuses) { json_object *jn = json_object_new_object(); Loading