Skip to content

Commit

Permalink
style lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Mar 6, 2024
1 parent ad67b9a commit 5efe957
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions kong/db/schema/entities/routes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,13 @@ else
},
run_with_missing_fields = true,
fn = function(entity)
if is_empty_field(entity.snis) and
is_empty_field(entity.sources) and is_empty_field(entity.destinations) and
is_empty_field(entity.methods) and is_empty_field(entity.hosts) and
is_empty_field(entity.paths) and is_empty_field(entity.headers)
if is_empty_field(entity.snis) and
is_empty_field(entity.sources) and
is_empty_field(entity.destinations) and
is_empty_field(entity.methods) and
is_empty_field(entity.hosts) and
is_empty_field(entity.paths) and
is_empty_field(entity.headers)
then
return true
end
Expand Down

0 comments on commit 5efe957

Please sign in to comment.