mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Management framework: move role variable from logging into framework-wide config
The role isn't just about logging, it can also act as a general indicator to key in on in role-specific code elsewhere, such as @if.
This commit is contained in:
parent
e78fdc39e4
commit
b96a4276eb
5 changed files with 15 additions and 12 deletions
|
@ -71,7 +71,7 @@ redef record Management::Request::Request += {
|
|||
};
|
||||
|
||||
# Tag our logs correctly
|
||||
redef Management::Log::role = Management::CONTROLLER;
|
||||
redef Management::role = Management::CONTROLLER;
|
||||
|
||||
global check_instances_ready: function();
|
||||
global add_instance: function(inst: Management::Instance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue