mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Remove deprecated time machine settings
This commit is contained in:
parent
aba1f431cf
commit
a716903f3a
6 changed files with 7 additions and 38 deletions
|
@ -94,11 +94,6 @@ 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;
|
||||
|
@ -121,11 +116,6 @@ 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:
|
||||
connect_peers_with_type(LOGGER);
|
||||
|
@ -141,11 +131,6 @@ 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