From c5b20f96c2f282d41dfa0b0cd9264f52b63d9fee Mon Sep 17 00:00:00 2001 From: Madelyn Olson Date: Mon, 16 Dec 2019 23:38:31 -0800 Subject: [PATCH] Added a missed space in lua errors --- src/scripting.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripting.c b/src/scripting.c index 96eb9681d..98d4b2b7e 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -688,13 +688,13 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) { { if (error_code == CLUSTER_REDIR_DOWN_RO_STATE) { luaPushError(lua, - "Lua script attempted to execute a write command while the" + "Lua script attempted to execute a write command while the " "cluster is down and readonly"); } else if (error_code == CLUSTER_REDIR_DOWN_STATE) { luaPushError(lua, - "Lua script attempted to execute a command while the" + "Lua script attempted to execute a command while the " "cluster is down"); - } else {} + } else { luaPushError(lua, "Lua script attempted to access a non local key in a " "cluster node");