diff --git a/kong/conf_loader/init.lua b/kong/conf_loader/init.lua index 8f0ddfb576d7..37b0ffd498bd 100644 --- a/kong/conf_loader/init.lua +++ b/kong/conf_loader/init.lua @@ -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" }, diff --git a/spec/02-integration/05-proxy/02-router_spec.lua b/spec/02-integration/05-proxy/02-router_spec.lua index 75adaff42857..302bd17e95b6 100644 --- a/spec/02-integration/05-proxy/02-router_spec.lua +++ b/spec/02-integration/05-proxy/02-router_spec.lua @@ -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, { @@ -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, @@ -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",