cluster/logger: Fix global var reference

This commit is contained in:
Arne Welzel 2023-06-13 09:28:02 +02:00
parent 857c15a293
commit 27432c457c

View file

@ -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;