forked from mirror/redis
fix: ignore Nil error when reading EntriesRead
This commit is contained in:
parent
a40b4f0f69
commit
89d6dfe09a
|
@ -2047,7 +2047,7 @@ func (cmd *XInfoGroupsCmd) readReply(rd *proto.Reader) error {
|
|||
}
|
||||
case "entries-read":
|
||||
group.EntriesRead, err = rd.ReadInt()
|
||||
if err != nil {
|
||||
if err != nil && err != Nil {
|
||||
return err
|
||||
}
|
||||
case "lag":
|
||||
|
|
Loading…
Reference in New Issue