Skip to content

Commit

Permalink
fix: fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Jan 4, 2023
1 parent b3155e2 commit 532b3f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kong/conf_loader/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ local CONF_INFERENCES = {
upstream_keepalive_pool_size = { typ = "number" },
upstream_keepalive_max_requests = { typ = "number" },
upstream_keepalive_idle_timeout = { typ = "number" },
enable_debug_header = {typ = "boolean"},
enable_debug_header = { typ = "boolean" },

headers = { typ = "array" },
trusted_ips = { typ = "array" },
Expand Down
4 changes: 1 addition & 3 deletions spec/02-integration/05-proxy/02-router_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,6 @@ for _, strategy in helpers.each_strategy() do

describe("disable enable_debug_header config" , function()
local proxy_client
local route

lazy_setup(function()
local bp = helpers.get_db_utils(strategy, {
Expand All @@ -2396,7 +2395,7 @@ for _, strategy in helpers.each_strategy() do
"enable-buffering",
})

route = bp.routes:insert({
bp.routes:insert({
methods = { "GET" },
protocols = { "http" },
strip_path = false,
Expand All @@ -2411,7 +2410,6 @@ for _, strategy in helpers.each_strategy() do

assert(helpers.start_kong({
router_flavor = flavor,
worker_consistency = consistency,
database = strategy,
nginx_worker_processes = 4,
plugins = "bundled,enable-buffering",
Expand Down

0 comments on commit 532b3f7

Please sign in to comment.