chore: rename ClusterContext to NodeContext

This commit is contained in:
2025-08-21 17:39:43 +02:00
parent 81bc70fa83
commit 5870695465
10 changed files with 40 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
#include "ClusterManager.h"
ClusterManager::ClusterManager(ClusterContext& ctx) : ctx(ctx) {
ClusterManager::ClusterManager(NodeContext& ctx) : ctx(ctx) {
// Register callback for node_discovered event
ctx.registerEvent("node_discovered", [this](void* data) {
NodeInfo* node = static_cast<NodeInfo*>(data);