Skip to content

Commit

Permalink
Modify XINFO field from last-id to last-generated-id.
Browse files Browse the repository at this point in the history
Related to redis#5129.
  • Loading branch information
antirez committed Jul 16, 2018
1 parent c093221 commit 42b977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -2301,7 +2301,7 @@ NULL
addReplyLongLong(c,s->rax->numnodes);
addReplyStatus(c,"groups");
addReplyLongLong(c,s->cgroups ? raxSize(s->cgroups) : 0);
addReplyStatus(c,"last-id");
addReplyStatus(c,"last-generated-id");
addReplyStreamID(c,&s->last_id);

/* To emit the first/last entry we us the streamReplyWithRange()
Expand Down

0 comments on commit 42b977a

Please sign in to comment.