mirror of
https://github.com/redis/go-redis.git
synced 2025-07-23 21:01:00 +03:00
docs: clarify XInfoGroup.Lag field behavior with Nil values
This commit is contained in:
@ -2187,6 +2187,7 @@ func (cmd *XInfoGroupsCmd) readReply(rd *proto.Reader) error {
|
||||
|
||||
// lag: the number of entries in the stream that are still waiting to be delivered
|
||||
// to the group's consumers, or a NULL(Nil) when that number can't be determined.
|
||||
// In that case, we return -1.
|
||||
if err != nil && err != Nil {
|
||||
return err
|
||||
} else if err == Nil {
|
||||
|
Reference in New Issue
Block a user