Skip to content
Snippets Groups Projects
Commit 873632f2 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

tarantoolctl: fix "attempt to index local 'cfg'"

Fixes #2761
parent 947b378d
No related branches found
No related tags found
No related merge requests found
......@@ -419,6 +419,7 @@ local function wrapper_cfg(cfg)
log.info('Run console at %s', console_sock)
console.listen(console_sock)
cfg = cfg or {}
for i, v in pairs(default_cfg) do
if cfg[i] == nil then
cfg[i] = v
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment