From 4324bab58bc85c9909cc0047d65b35218b73a30c Mon Sep 17 00:00:00 2001 From: Christian Kreibich Date: Fri, 31 Jan 2025 20:33:07 -0800 Subject: [PATCH] Remove unused SupervisedNode::InitCluster declaration The move of the cluster table initialization to the script layer removed the implementation, but overlooked this declaration. See: 737b1a20138e3720b5b5e33eef69377e35ff46db --- src/supervisor/Supervisor.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/supervisor/Supervisor.h b/src/supervisor/Supervisor.h index 641618dfde..0224fb3d7b 100644 --- a/src/supervisor/Supervisor.h +++ b/src/supervisor/Supervisor.h @@ -367,17 +367,6 @@ struct SupervisorStemHandle { * State which defines a Supervised Zeek node's understanding of itself. */ struct SupervisedNode { - /** - * Initialize the Supervised node within the Zeek Cluster Framework. - * This function populates the "Cluster::nodes" script-layer variable - * that otherwise is expected to be populated by a - * "cluster-layout.zeek" script in other context (e.g. ZeekCtl - * generates that cluster layout). - * @return true if the supervised node is using the Cluster Framework - * else false. - */ - bool InitCluster() const; - /** * Initialize the Supervised node. * @param options the Zeek options to extend/modify as appropriate