chore: rename ClusterContext to NodeContext
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user