fix: Hdel check result & Pfadd check result (#1801)

master
杨圆建 3 years ago committed by GitHub
parent 036d803fbb
commit d58cf7a12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -681,7 +681,7 @@ func (s *Redis) HdelCtx(ctx context.Context, key string, fields ...string) (val
return err
}
val = v == 1
val = v >= 1
return nil
}, acceptable)
@ -1219,7 +1219,7 @@ func (s *Redis) PfaddCtx(ctx context.Context, key string, values ...interface{})
return err
}
val = v == 1
val = v >= 1
return nil
}, acceptable)

Loading…
Cancel
Save