mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
cluster/logger: Fix global var reference
This commit is contained in:
parent
857c15a293
commit
27432c457c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ global log_metadata: table[string] of string;
|
||||||
function encode_log_metadata(tbl: table[string] of string): string
|
function encode_log_metadata(tbl: table[string] of string): string
|
||||||
{
|
{
|
||||||
local metadata_vec: vector of string;
|
local metadata_vec: vector of string;
|
||||||
for ( k, v in log_metadata )
|
for ( k, v in tbl )
|
||||||
{
|
{
|
||||||
if ( |v| == 0 ) # Assume concious decision to skip this entry.
|
if ( |v| == 0 ) # Assume concious decision to skip this entry.
|
||||||
next;
|
next;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue