Skip to content

Commit 488e658

Browse files
DATAREDIS-1178 - Pass ScanOptions on to connection.sScan when using ReactiveSetOperations.
1 parent dd790bc commit 488e658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/core/DefaultReactiveSetOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public Flux<V> scan(K key, ScanOptions options) {
430430
Assert.notNull(key, "Key must not be null!");
431431
Assert.notNull(options, "ScanOptions must not be null!");
432432

433-
return createFlux(connection -> connection.sScan(rawKey(key)).map(this::readValue));
433+
return createFlux(connection -> connection.sScan(rawKey(key), options).map(this::readValue));
434434
}
435435

436436
/*

0 commit comments

Comments
 (0)