This is an automated email from the ASF dual-hosted git repository.
monkeydluffy 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 3a87611f9 fix: typos in comments (#10330)
3a87611f9 is described below
commit 3a87611f93fb2de9fb36b3f87d3bc7a530ca5f52
Author: vuittont60 <[email protected]>
AuthorDate: Mon Oct 16 15:17:07 2023 +0800
fix: typos in comments (#10330)
---
apisix/cli/ngx_tpl.lua | 2 +-
apisix/init.lua | 2 +-
t/APISIX.pm | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/apisix/cli/ngx_tpl.lua b/apisix/cli/ngx_tpl.lua
index 76c1832f3..cd652a9b1 100644
--- a/apisix/cli/ngx_tpl.lua
+++ b/apisix/cli/ngx_tpl.lua
@@ -469,7 +469,7 @@ http {
}
apisix.http_init(args)
- -- set apisix_lua_home into constans module
+ -- set apisix_lua_home into constants module
-- it may be used by plugins to determine the work path of apisix
local constants = require("apisix.constants")
constants.apisix_lua_home = "{*apisix_lua_home*}"
diff --git a/apisix/init.lua b/apisix/init.lua
index da9fe915a..4cfd179d2 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -170,7 +170,7 @@ end
function _M.http_exit_worker()
- -- TODO: we can support stream plugin later - currently there is not
`destory` method
+ -- TODO: we can support stream plugin later - currently there is not
`destroy` method
-- in stream plugins
plugin.exit_worker()
require("apisix.plugins.ext-plugin.init").exit_worker()
diff --git a/t/APISIX.pm b/t/APISIX.pm
index b8e288abc..a8c49348f 100644
--- a/t/APISIX.pm
+++ b/t/APISIX.pm
@@ -524,7 +524,7 @@ _EOC_
}
apisix.http_init(args)
- -- set apisix_lua_home into constans module
+ -- set apisix_lua_home into constants module
-- it may be used by plugins to determine the work path of apisix
local constants = require("apisix.constants")
constants.apisix_lua_home = "$apisix_home"