mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Lua debugging: fix error message for SCRIPT DEBUG.
"async" -> "sync". Thanks to Itamar Haber for reporting.
This commit is contained in:
parent
3d24cd6bf8
commit
34aadf79c3
@ -1474,7 +1474,7 @@ void scriptCommand(client *c) {
|
|||||||
addReply(c,shared.ok);
|
addReply(c,shared.ok);
|
||||||
c->flags |= CLIENT_LUA_DEBUG_SYNC;
|
c->flags |= CLIENT_LUA_DEBUG_SYNC;
|
||||||
} else {
|
} else {
|
||||||
addReplyError(c,"Use SCRIPT DEBUG yes/async/no");
|
addReplyError(c,"Use SCRIPT DEBUG yes/sync/no");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
addReplyError(c, "Unknown SCRIPT subcommand or wrong # of args.");
|
addReplyError(c, "Unknown SCRIPT subcommand or wrong # of args.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user