Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
12caffee
Commit
12caffee
authored
Dec 16, 2019
by
Madelyn Olson
Browse files
Added a missed space in lua errors
parent
576a0890
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
12caffee
...
@@ -688,13 +688,13 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment