Unverified Commit 7d749d81 authored by guybe7's avatar guybe7 Committed by GitHub
Browse files

Fix error reply in case zset command is not the STORE variant (#8793)

parent d63d0260
...@@ -2576,8 +2576,8 @@ void zunionInterDiffGenericCommand(client *c, robj *dstkey, int numkeysIndex, in ...@@ -2576,8 +2576,8 @@ void zunionInterDiffGenericCommand(client *c, robj *dstkey, int numkeysIndex, in
return; return;
if (setnum < 1) { if (setnum < 1) {
addReplyError(c, addReplyErrorFormat(c,
"at least 1 input key is needed for ZUNIONSTORE/ZINTERSTORE/ZDIFFSTORE"); "at least 1 input key is needed for %s", c->cmd->name);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment