mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +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,7 +132,10 @@ event Measurement::cluster_measurement_request(uid: string, mid: string)
|
||||||
#print fmt("WORKER %s: received the cluster_measurement_request event for %s.", Cluster::node, id);
|
#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.
|
# Initiate sending all of the data for the requested measurement.
|
||||||
|
if ( mid in result_store )
|
||||||
event Measurement::send_data(uid, mid, result_store[mid]);
|
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
|
# Lookup the actual measurement and reset it, the reference to the data
|
||||||
# currently stored will be maintained internally by the send_data event.
|
# currently stored will be maintained internally by the send_data event.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue