diff --git a/kong-0.10.0-0.rockspec b/kong-0.10.0-0.rockspec index 03ffc8ef90bf..b9e8ca09defa 100644 --- a/kong-0.10.0-0.rockspec +++ b/kong-0.10.0-0.rockspec @@ -81,6 +81,7 @@ build = { ["kong.tools.dns"] = "kong/tools/dns.lua", ["kong.tools.utils"] = "kong/tools/utils.lua", + ["kong.tools.public"] = "kong/tools/public.lua", ["kong.tools.printable"] = "kong/tools/printable.lua", ["kong.tools.responses"] = "kong/tools/responses.lua", ["kong.tools.timestamp"] = "kong/tools/timestamp.lua", diff --git a/kong/plugins/aws-lambda/handler.lua b/kong/plugins/aws-lambda/handler.lua index 5433d8b410c0..9abc726fa7f6 100644 --- a/kong/plugins/aws-lambda/handler.lua +++ b/kong/plugins/aws-lambda/handler.lua @@ -7,7 +7,7 @@ local utils = require "kong.tools.utils" local Multipart = require "multipart" local http = require "resty.http" local cjson = require "cjson.safe" -local public_utils = require "kong.utils.public" +local public_utils = require "kong.tools.public" local string_find = string.find local ngx_req_get_headers = ngx.req.get_headers diff --git a/kong/plugins/oauth2/access.lua b/kong/plugins/oauth2/access.lua index 837f92c27f81..162a3f253017 100644 --- a/kong/plugins/oauth2/access.lua +++ b/kong/plugins/oauth2/access.lua @@ -7,7 +7,7 @@ local responses = require "kong.tools.responses" local constants = require "kong.constants" local timestamp = require "kong.tools.timestamp" local singletons = require "kong.singletons" -local public_utils = require "kong.utils.public" +local public_utils = require "kong.tools.public" local string_find = string.find local req_get_headers = ngx.req.get_headers diff --git a/kong/plugins/runscope/handler.lua b/kong/plugins/runscope/handler.lua index 1e0e949a1410..0ab1683c0cf6 100644 --- a/kong/plugins/runscope/handler.lua +++ b/kong/plugins/runscope/handler.lua @@ -1,7 +1,7 @@ local runscope_serializer = require "kong.plugins.log-serializers.runscope" local BasePlugin = require "kong.plugins.base_plugin" local log = require "kong.plugins.runscope.log" -local public_utils = require "kong.utils.public" +local public_utils = require "kong.tools.public" local ngx_log = ngx.log local ngx_log_ERR = ngx.ERR diff --git a/kong/utils/public.lua b/kong/tools/public.lua similarity index 100% rename from kong/utils/public.lua rename to kong/tools/public.lua