Skip to content

Commit

Permalink
docs(db): tidy up/clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed May 22, 2023
1 parent 8d83dd0 commit 89c6b94
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions kong/db/errors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,6 @@ do
for ref in each_foreign_field(entity_type) do
-- owned one-to-one relationship
--
-- In this path, we extract the foreign entity and replace it with a
-- primary key table (if one exists).
--
-- Example:
--
-- entity_type => "services"
Expand Down Expand Up @@ -836,11 +833,8 @@ do
-- key = "bad cert key data",
-- }
--
-- replacement => {
-- id = "d2e33f63-1424-408f-be55-d9d16cd2a382"
-- }
--
-- *after* handling the client_certificate errors, our entity looks like this:
-- because the client certificate entity has a valid ID, we store a
-- reference to it as a primary key on our entity table:
--
-- entity => {
-- name = "my-invalid-service",
Expand Down

0 comments on commit 89c6b94

Please sign in to comment.