From 3a71c4072a6cc3fd27e99032d6fa2c4662646933 Mon Sep 17 00:00:00 2001 From: Chrono Date: Wed, 4 Sep 2024 19:01:47 +0800 Subject: [PATCH] style(tools): should not use `tools.utils` module (#13615) --- kong/llm/proxy/handler.lua | 2 +- kong/observability/logs.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/llm/proxy/handler.lua b/kong/llm/proxy/handler.lua index 737b38c1bb4d..40ef85634b78 100644 --- a/kong/llm/proxy/handler.lua +++ b/kong/llm/proxy/handler.lua @@ -11,7 +11,7 @@ local llm_state = require("kong.llm.state") local cjson = require("cjson.safe") local kong_utils = require("kong.tools.gzip") local buffer = require "string.buffer" -local strip = require("kong.tools.utils").strip +local strip = require("kong.tools.string").strip local cycle_aware_deep_copy = require("kong.tools.table").cycle_aware_deep_copy diff --git a/kong/observability/logs.lua b/kong/observability/logs.lua index 0b7de49fb71f..4aeeb6b6188d 100644 --- a/kong/observability/logs.lua +++ b/kong/observability/logs.lua @@ -12,7 +12,7 @@ end local request_id_get = require "kong.observability.tracing.request_id".get local time_ns = require "kong.tools.time".time_ns local table_merge = require "kong.tools.table".table_merge -local deep_copy = require "kong.tools.utils".deep_copy +local deep_copy = require "kong.tools.table".deep_copy local get_log_level = require "resty.kong.log".get_log_level local constants_log_levels = require "kong.constants".LOG_LEVELS