1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

fix: ignore Nil error when reading EntriesRead

This commit is contained in:
youseebiggirl
2022-06-25 20:11:46 +08:00
committed by GitHub
parent a40b4f0f69
commit 89d6dfe09a

View File

@ -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":