Skip to content

Commit d11a55a

Browse files
gerzsesazzad16
authored andcommitted
Use expiryOption in PipelineBase.expireAt (#3777)
One of the expireAt methods in PipelineBase is not using its ExpiryOption argument. Fix this by forwarding that argument too to the commandObjects. Co-authored-by: Gabriel Erzse <[email protected]>
1 parent 3d8fdc3 commit d11a55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/redis/clients/jedis/PipeliningBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ public Response<Long> expireAt(byte[] key, long unixTime) {
20692069

20702070
@Override
20712071
public Response<Long> expireAt(byte[] key, long unixTime, ExpiryOption expiryOption) {
2072-
return appendCommand(commandObjects.expireAt(key, unixTime));
2072+
return appendCommand(commandObjects.expireAt(key, unixTime, expiryOption));
20732073
}
20742074

20752075
@Override

0 commit comments

Comments
 (0)