mirror of https://github.com/go-redis/redis.git
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":
|
case "entries-read":
|
||||||
group.EntriesRead, err = rd.ReadInt()
|
group.EntriesRead, err = rd.ReadInt()
|
||||||
if err != nil {
|
if err != nil && err != Nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
case "lag":
|
case "lag":
|
||||||
|
|
Loading…
Reference in New Issue