Skip to content

Commit

Permalink
remove unncessary logic
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Jan 20, 2025
1 parent d20ebeb commit ab9f6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/db/declarative/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ local _MT = { __index = _M, }
-- @tparam boolean partial Input is not a full representation
-- of the database (e.g. for db_import)
-- @treturn table A Config schema adjusted for this configuration
function _M.new_config(kong_config, partial, include_foreign)
local schema, err = declarative_config.load(kong_config.loaded_plugins, kong_config.loaded_vaults, include_foreign)
function _M.new_config(kong_config, partial)
local schema, err = declarative_config.load(kong_config.loaded_plugins, kong_config.loaded_vaults)
if not schema then
return nil, err
end
Expand Down

0 comments on commit ab9f6dd

Please sign in to comment.