fix
This commit is contained in:
@@ -6,7 +6,8 @@ function _M.uuid()
|
|||||||
local result, _, code = os.execute(uuid_cmd)
|
local result, _, code = os.execute(uuid_cmd)
|
||||||
|
|
||||||
if result and code == 0 then
|
if result and code == 0 then
|
||||||
ngx.say(result)
|
ngx.log(ngx.INFO, "uuid -> ", result)
|
||||||
|
return result
|
||||||
else
|
else
|
||||||
ngx.status = 500
|
ngx.status = 500
|
||||||
ngx.log(ngx.ERR, "UUID GENERATION *FAILED*")
|
ngx.log(ngx.ERR, "UUID GENERATION *FAILED*")
|
||||||
|
|||||||
Reference in New Issue
Block a user