Skip to content

Commit 91969db

Browse files
committed
remove unused logs
1 parent bc4b9b5 commit 91969db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/resty/rediscluster.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ local DEFAULT_SEND_TIMEOUT = 1000
3030
local DEFAULT_READ_TIMEOUT = 1000
3131
local DEFAULT_HEALTH_DICT_NAME = "redis_cluster_health"
3232
local err_unhealthy_master = "master node is unhealthy"
33-
local inspect = require "inspect"
33+
3434
local function generate_key(name, ip, port)
3535
return name .. ":" .. ip .. ":" .. port
3636
end
@@ -47,7 +47,6 @@ local function health_check_timer(premature)
4747
end
4848

4949
local all_keys = health_dict:get_keys()
50-
ngx.log(ngx.WARN, "health check keys: ", inspect(all_keys))
5150
for _, key in ipairs(all_keys) do
5251
local ip, port = string.match(key, "^[^:]+:([^:]+):(%d+)$")
5352
if not ip or not port then

0 commit comments

Comments
 (0)