mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Fix another occasional reporter error.
This commit is contained in:
parent
e93fd69cf2
commit
8165d6077d
1 changed files with 5 additions and 2 deletions
|
@ -132,8 +132,11 @@ event Measurement::cluster_measurement_request(uid: string, mid: string)
|
|||
#print fmt("WORKER %s: received the cluster_measurement_request event for %s.", Cluster::node, id);
|
||||
|
||||
# Initiate sending all of the data for the requested measurement.
|
||||
event Measurement::send_data(uid, mid, result_store[mid]);
|
||||
|
||||
if ( mid in result_store )
|
||||
event Measurement::send_data(uid, mid, result_store[mid]);
|
||||
else
|
||||
event Measurement::send_data(uid, mid, table());
|
||||
|
||||
# Lookup the actual measurement and reset it, the reference to the data
|
||||
# currently stored will be maintained internally by the send_data event.
|
||||
if ( mid in measurement_store )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue