mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
time machine: Mark leftovers for removal in v7.1
I suspect we could just drop these directly, but lets follow the deprecation cycle.
This commit is contained in:
parent
384453346d
commit
cd24acdfc8
3 changed files with 19 additions and 6 deletions
|
@ -94,9 +94,11 @@ event zeek_init() &priority=-10
|
|||
case WORKER:
|
||||
Broker::subscribe(Cluster::worker_topic);
|
||||
break;
|
||||
@pragma push ignore-deprecations
|
||||
case TIME_MACHINE:
|
||||
Broker::subscribe(Cluster::time_machine_topic);
|
||||
break;
|
||||
@pragma pop ignore-deprecations
|
||||
default:
|
||||
Reporter::error(fmt("Unhandled cluster node type: %s", self$node_type));
|
||||
return;
|
||||
|
@ -119,8 +121,10 @@ event zeek_init() &priority=-10
|
|||
case MANAGER:
|
||||
connect_peers_with_type(LOGGER);
|
||||
|
||||
@pragma push ignore-deprecations
|
||||
if ( self?$time_machine )
|
||||
connect_peer(TIME_MACHINE, self$time_machine);
|
||||
@pragma pop ignore-deprecations
|
||||
|
||||
break;
|
||||
case PROXY:
|
||||
|
@ -137,8 +141,10 @@ event zeek_init() &priority=-10
|
|||
if ( self?$manager )
|
||||
connect_peer(MANAGER, self$manager);
|
||||
|
||||
@pragma push ignore-deprecations
|
||||
if ( self?$time_machine )
|
||||
connect_peer(TIME_MACHINE, self$time_machine);
|
||||
@pragma pop ignore-deprecations
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue