mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix issue with sumstats script and fix baselines that were crashing previously
This commit is contained in:
parent
7496cf14c7
commit
b8287a3375
3 changed files with 10 additions and 7 deletions
|
@ -328,13 +328,16 @@ function request_all_current_keys(uid: string, ss_name: string, cleanup: bool)
|
|||
if ( uid in stats_keys && |stats_keys[uid]| > 0 )
|
||||
{
|
||||
#print fmt(" -- %d remaining keys here", |stats_keys[uid]|);
|
||||
for ( key in stats_keys[uid] )
|
||||
local key: Key;
|
||||
for ( k in stats_keys[uid] )
|
||||
{
|
||||
done_with[uid] = 0;
|
||||
event SumStats::cluster_get_result(uid, ss_name, key, cleanup);
|
||||
delete stats_keys[uid][key];
|
||||
key = k;
|
||||
break; # only a single key
|
||||
}
|
||||
|
||||
done_with[uid] = 0;
|
||||
event SumStats::cluster_get_result(uid, ss_name, key, cleanup);
|
||||
delete stats_keys[uid][key];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue