DATAREDIS-1207 - Fix LettuceStreamCommands.xPending Range conversion..
Original Pull Request: #556
This commit is contained in:
@@ -442,7 +442,7 @@ class LettuceStreamCommands implements RedisStreamCommands {
|
||||
public PendingMessages xPending(byte[] key, String groupName, XPendingOptions options) {
|
||||
|
||||
byte[] group = LettuceConverters.toBytes(groupName);
|
||||
io.lettuce.core.Range<String> range = RangeConverter.toRangeWithDefault(options.getRange(), "-", "+");
|
||||
io.lettuce.core.Range<String> range = RangeConverter.toRangeWithDefault(options.getRange(), "-", "+", Function.identity());
|
||||
io.lettuce.core.Limit limit = options.isLimited() ? io.lettuce.core.Limit.from(options.getCount())
|
||||
: io.lettuce.core.Limit.unlimited();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user