mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Move cluster controller/agent main.zeek scripts into their own modules
This has no practical relevance other than allowing the two to be loaded a the same time, which some of our (cluster-unrelated) tests require. Absence of namespacing would trigger symbol clashes at this point.
This commit is contained in:
parent
069eb28987
commit
8463f14a52
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
@load ./api
|
||||
|
||||
module ClusterAgent::Runtime;
|
||||
|
||||
redef ClusterController::role = ClusterController::Types::AGENT;
|
||||
|
||||
# The global configuration as passed to us by the controller
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
@load ./request
|
||||
@load ./util
|
||||
|
||||
module ClusterController::Runtime;
|
||||
|
||||
redef ClusterController::role = ClusterController::Types::CONTROLLER;
|
||||
|
||||
global check_instances_ready: function(insts: set[string], tc: TableChange, inst: string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue