mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster/Backend: Pass node_id via Init()
This commit is contained in:
parent
0b7a660a34
commit
769044e8e1
3 changed files with 20 additions and 4 deletions
|
@ -585,7 +585,7 @@ function log(msg: string)
|
|||
|
||||
function init(): bool
|
||||
{
|
||||
return Cluster::Backend::__init();
|
||||
return Cluster::Backend::__init(Cluster::node_id());
|
||||
}
|
||||
|
||||
function subscribe(topic: string): bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue