refactor some lua code
This commit is contained in:
parent
ced6c5bd96
commit
cb4755835e
11 changed files with 83 additions and 47 deletions
|
|
@ -1,6 +1,6 @@
|
|||
package.path = "./rootfs/etc/nginx/lua/?.lua;./rootfs/etc/nginx/lua/test/mocks/?.lua;" .. package.path
|
||||
_G._TEST = true
|
||||
local defer = require('defer')
|
||||
local defer = require('util.defer')
|
||||
|
||||
local _ngx = {
|
||||
shared = {},
|
||||
Loading…
Add table
Add a link
Reference in a new issue