aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_redis.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r--lualib/lua_redis.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua
index c01cdfae9..2102db841 100644
--- a/lualib/lua_redis.lua
+++ b/lualib/lua_redis.lua
@@ -914,6 +914,8 @@ local function redis_connect_sync(redis_params, is_write, key, cfg)
if not ret then
logger.errx('cannot execute redis request: %s', conn)
addr:fail()
+
+ return false,nil,addr
end
if conn then