Merge remote-tracking branch 'origin/topic/awelzel/cluster-at-if-removal'

* origin/topic/awelzel/cluster-at-if-removal:
  test-all-policy: Do not load nodes-experimental/manager.zeek
  cluster/main: Remove extra @if ( Cluster::is_enabled() )

(cherry picked from commit 98e44ee14f)
This commit is contained in:
Tim Wojtulewicz 2023-06-12 11:04:42 -07:00
parent b34e70e6cd
commit d2b534e6b2
5 changed files with 23 additions and 8 deletions

View file

@ -347,8 +347,6 @@ function nodeid_topic(id: string): string
return nodeid_topic_prefix + id + "/";
}
@if ( Cluster::is_enabled() )
event Cluster::hello(name: string, id: string) &priority=10
{
if ( name !in nodes )
@ -423,8 +421,6 @@ event zeek_init() &priority=5
Log::create_stream(Cluster::LOG, [$columns=Info, $path="cluster", $policy=log_policy]);
}
@endif
function create_store(name: string, persistent: bool &default=F): Cluster::StoreInfo
{
local info = stores[name];