add log
This commit is contained in:
@@ -58,6 +58,7 @@ while true do
|
||||
local http = require "resty.http"
|
||||
local httpc = http.new()
|
||||
local remote_url = string.format("%s/api/v1/ts/create_task", task_server)
|
||||
ngx.log(ngx.ERR, 'remote_url -> ', remote_url)
|
||||
local res, err = httpc:request_uri(
|
||||
remote_url,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user