mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
parent
bd0d1c2293
commit
3b5361dc10
@ -2057,7 +2057,7 @@ func (cmd *XInfoGroupsCmd) readReply(rd *proto.Reader) error {
|
||||
}
|
||||
case "lag":
|
||||
group.Lag, err = rd.ReadInt()
|
||||
if err != nil {
|
||||
if err != nil && err != Nil {
|
||||
return err
|
||||
}
|
||||
default:
|
||||
@ -2367,7 +2367,7 @@ func readStreamGroups(rd *proto.Reader) ([]XInfoStreamGroup, error) {
|
||||
}
|
||||
case "lag":
|
||||
group.Lag, err = rd.ReadInt()
|
||||
if err != nil {
|
||||
if err != nil && err != Nil {
|
||||
return nil, err
|
||||
}
|
||||
case "pel-count":
|
||||
|
Loading…
x
Reference in New Issue
Block a user