From 96ae0fe1867bc3c9ba5ea752bd93bd1b3632fa79 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Feb 2019 15:42:26 +0000 Subject: [PATCH] [Fix] Process orphaned `symbols` section --- lualib/lua_cfg_transform.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index 8a61dcd29..ae05eed59 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -242,6 +242,12 @@ return function(cfg) ret = true end + if cfg.symbols then + for k, v in metric_pairs(cfg.symbols) do + symbol_transform(cfg, k, v) + end + end + check_statistics_sanity() if not cfg.actions then -- 2.39.5