Skip to content

Commit

Permalink
fix: typos in comments (#10330)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 authored Oct 16, 2023
1 parent 0b38ea2 commit 3a87611
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apisix/cli/ngx_tpl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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*}"
Expand Down
2 changes: 1 addition & 1 deletion apisix/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion t/APISIX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3a87611

Please sign in to comment.