mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Fix wrong tips when the user pass wrong # of arguments to redis.set_repl(). (#11415)
redis.set_repl() needs one arg, but the tips says two.
This commit is contained in:
parent
9e1b879f5b
commit
20df1424a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1054,7 +1054,7 @@ static int luaRedisSetReplCommand(lua_State *lua) {
|
|||
serverAssert(rctx); /* Only supported inside script invocation */
|
||||
|
||||
if (argc != 1) {
|
||||
luaPushError(lua, "redis.set_repl() requires two arguments.");
|
||||
luaPushError(lua, "redis.set_repl() requires one argument.");
|
||||
return luaError(lua);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue