Skip to content

Commit

Permalink
remove id field
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Apr 24, 2023
1 parent 39ab391 commit d050178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/db/schema/entities/routes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if kong_router_flavor == "expressions" then

entity_checks = {
{ custom_entity_check = {
field_sources = { "expression", "id", },
field_sources = { "expression", },
fn = function(entity)
local ok, err = validate_entity_by_expression(entity)
if not ok then
Expand Down Expand Up @@ -123,7 +123,7 @@ else
table.insert(entity_checks,
{ custom_entity_check = {
run_with_missing_fields = true,
field_sources = { "id", "paths", },
field_sources = { "paths", },
fn = function(entity)
if has_paths(entity) then
local ok, err = validate_entity_by_expression(entity)
Expand Down

0 comments on commit d050178

Please sign in to comment.