Commit 185e0d9c authored by antirez's avatar antirez
Browse files

Modify XINFO field from last-id to last-generated-id.

Related to #5129.
parent 4215e74b
...@@ -2301,7 +2301,7 @@ NULL ...@@ -2301,7 +2301,7 @@ NULL
addReplyLongLong(c,s->rax->numnodes); addReplyLongLong(c,s->rax->numnodes);
addReplyStatus(c,"groups"); addReplyStatus(c,"groups");
addReplyLongLong(c,s->cgroups ? raxSize(s->cgroups) : 0); addReplyLongLong(c,s->cgroups ? raxSize(s->cgroups) : 0);
addReplyStatus(c,"last-id"); addReplyStatus(c,"last-generated-id");
addReplyStreamID(c,&s->last_id); addReplyStreamID(c,&s->last_id);
/* To emit the first/last entry we us the streamReplyWithRange() /* To emit the first/last entry we us the streamReplyWithRange()
......
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