mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add capture to a Sumstats when-statement
This resolves a deprecation warning that currently triggers when running Sumstats in clusterized Zeek.
This commit is contained in:
parent
16ee942a8d
commit
6a46d1584c
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ function request_key(ss_name: string, key: Key): Result
|
|||
add dynamic_requests[uid];
|
||||
|
||||
event SumStats::cluster_get_result(uid, ss_name, key, F);
|
||||
return when ( uid in done_with && Cluster::worker_count == done_with[uid] )
|
||||
return when [uid, ss_name, key] ( uid in done_with && Cluster::worker_count == done_with[uid] )
|
||||
{
|
||||
#print "done with request_key";
|
||||
local result = key_requests[uid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue