Skip to content

Commit

Permalink
Revert "feat(api) add plugin priority to metadata (#8821)"
Browse files Browse the repository at this point in the history
This reverts commit 40f2d00.
  • Loading branch information
StarlightIbuki committed May 20, 2022
1 parent 87a5247 commit 02fa2be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kong/api/routes/kong.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ return {
local available_plugins = {}
for name in pairs(singletons.configuration.loaded_plugins) do
available_plugins[name] = {
version = kong.db.plugins.handlers[name].VERSION,
priority = kong.db.plugins.handlers[name].PRIORITY,
version = kong.db.plugins.handlers[name].VERSION or true
}
end

Expand Down

0 comments on commit 02fa2be

Please sign in to comment.