Streams: fix error description for XADD when specified ID is small.
This commit is contained in:
parent
d3c15ef886
commit
fe9a0b9d6d
@ -966,7 +966,7 @@ void xaddCommand(client *c) {
|
||||
&id, id_given ? &id : NULL)
|
||||
== C_ERR)
|
||||
{
|
||||
addReplyError(c,"The ID specified in XADD is smaller than the "
|
||||
addReplyError(c,"The ID specified in XADD is equal or smaller than the "
|
||||
"target stream top item");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user