This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new c739daac2 fix: change the misspelling of function name (#8110)
c739daac2 is described below
commit c739daac207fa749ffebf265fdf427ccae51df3b
Author: onlypiglet <[email protected]>
AuthorDate: Wed Oct 19 09:27:01 2022 +0800
fix: change the misspelling of function name (#8110)
Co-authored-by: [email protected] <4553283@wch>
---
apisix/debug.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apisix/debug.lua b/apisix/debug.lua
index 72c101635..d1cb53d22 100644
--- a/apisix/debug.lua
+++ b/apisix/debug.lua
@@ -157,7 +157,7 @@ do
local pre_mtime
local enabled_hooks = {}
-local function apple_new_fun(module, fun_name, file_path, hook_conf)
+local function apply_new_fun(module, fun_name, file_path, hook_conf)
local log_level = hook_conf.log_level or "warn"
if not module or type(module[fun_name]) ~= "function" then
@@ -244,7 +244,7 @@ function sync_debug_hooks()
else
for _, fun_name in ipairs(fun_names) do
- apple_new_fun(module, fun_name, file_path, hook_conf)
+ apply_new_fun(module, fun_name, file_path, hook_conf)
end
end
end