diff --git a/src/box/lua/load_cfg.lua b/src/box/lua/load_cfg.lua index d5b6967505839da78bad30a1aaf6e602ee9da70c..ed8a20f8b7603078fc2c838c3dfa015f7b5bd206 100644 --- a/src/box/lua/load_cfg.lua +++ b/src/box/lua/load_cfg.lua @@ -151,13 +151,13 @@ local function prepare_cfg(cfg, default_cfg, template_cfg, modify_cfg, prefix) if cfg.dont_check then return end - readable_prefix = '' + local readable_prefix = '' if prefix ~= nil and prefix ~= '' then readable_prefix = prefix .. '.' end local new_cfg = {} for k,v in pairs(cfg) do - readable_name = readable_prefix .. k; + local readable_name = readable_prefix .. k; if template_cfg[k] == nil then error("Error: cfg parameter '" .. readable_name .. "' is unexpected") elseif v == "" or v == nil then