Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle committed Apr 29, 2024
1 parent 7b9c9ff commit 5bfd1e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kong/conf_loader/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ local function load(path, custom_conf, opts)
return nil, err
end

for k, v in pairs(env_vars) do
for k in pairs(env_vars) do
local kong_var = match(lower(k), "^kong_(.+)")
if kong_var then
-- the value will be read in `overrides()`
Expand Down Expand Up @@ -403,8 +403,8 @@ local function load(path, custom_conf, opts)
-- collect references
local is_reference = require "kong.pdk.vault".is_reference
for k, v in pairs(conf) do
local typ = (conf_constants.CONF_PARSERS[k] or {}).typ or "string"
v = parse_value(v, typ)
local typ = (conf_constants.CONF_PARSERS[k] or {}).typ
v = parse_value(v, typ == "array" and "array" or "string")
if typ == "array" then
local found

Expand Down

0 comments on commit 5bfd1e7

Please sign in to comment.