Added a missed space in lua errors

This commit is contained in:
Madelyn Olson 2019-12-16 23:38:31 -08:00
parent 576a08908b
commit 12caffee61

View File

@ -688,13 +688,13 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
{ {
if (error_code == CLUSTER_REDIR_DOWN_RO_STATE) { if (error_code == CLUSTER_REDIR_DOWN_RO_STATE) {
luaPushError(lua, 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"); "cluster is down and readonly");
} else if (error_code == CLUSTER_REDIR_DOWN_STATE) { } else if (error_code == CLUSTER_REDIR_DOWN_STATE) {
luaPushError(lua, luaPushError(lua,
"Lua script attempted to execute a command while the" "Lua script attempted to execute a command while the "
"cluster is down"); "cluster is down");
} else {} } else {
luaPushError(lua, luaPushError(lua,
"Lua script attempted to access a non local key in a " "Lua script attempted to access a non local key in a "
"cluster node"); "cluster node");