Skip to content

Commit

Permalink
clean some instances
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Aug 12, 2024
1 parent c50895c commit ed997e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kong/clustering/compat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ local COMPATIBILITY_CHECKERS = require("kong.clustering.compat.checkers")
local CLUSTERING_SYNC_STATUS = constants.CLUSTERING_SYNC_STATUS
local KONG_VERSION = meta.version

local EMPTY = {}
local EMPTY = require("kong.tools.table").EMPTY


local _M = {}
Expand Down
2 changes: 1 addition & 1 deletion kong/conf_loader/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ local UPSTREAM_HEADER_KEY_TO_NAME = {
}


local EMPTY = {}
local EMPTY = require("kong.tools.table").EMPTY


-- NOTE! Prefixes should always follow `nginx_[a-z]+_`.
Expand Down
2 changes: 1 addition & 1 deletion kong/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local unpack = table.unpack
local insert = table.insert
local type = type
local select = select
local EMPTY = require("pl.tablex").readonly({})
local EMPTY = require("kong.tools.table").EMPTY

--[[
The preferred maximum number of return values from a hook,
Expand Down
2 changes: 1 addition & 1 deletion kong/tools/http.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local lower = string.lower
local max = math.max
local tab_new = require("table.new")

local EMPTY = {}
local EMPTY = require("kong.tools.table").EMPTY

local _M = {}

Expand Down

0 comments on commit ed997e3

Please sign in to comment.