Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ end

local function do_cfg(boxcfg, cfg)
for key, val in pairs(cfg) do
if load_cfg.default_cfg[key] == nil and load_cfg.dynamic_cfg[key] == nil then
if load_cfg.template_cfg[key] == nil then
local warn = string.format("Dropping non-boxcfg option '%s' given '%s'",key,val)
log.warn("%s",warn)
print(warn)
Expand Down
23 changes: 23 additions & 0 deletions rockspecs/config-scm-6.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package = 'config'
version = 'scm-6'
source = {
url = 'git+https://github.com/moonlibs/config.git',
branch = 'master',
}
description = {
summary = "Package for loading external lua config",
homepage = 'https://github.com/moonlibs/config.git',
license = 'BSD',
}
dependencies = {
'lua >= 5.1'
}
build = {
type = 'builtin',
modules = {
['override.config'] = 'config.lua';
['override.config.etcd'] = 'config/etcd.lua';
}
}

-- vim: syntax=lua