Skip to content

Commit

Permalink
Use expiryOption in PipelineBase.expireAt (#3777)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
2 people authored and sazzad16 committed May 20, 2024
1 parent 3d8fdc3 commit d11a55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/PipeliningBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,7 @@ public Response<Long> expireAt(byte[] key, long unixTime) {

@Override
public Response<Long> expireAt(byte[] key, long unixTime, ExpiryOption expiryOption) {
return appendCommand(commandObjects.expireAt(key, unixTime));
return appendCommand(commandObjects.expireAt(key, unixTime, expiryOption));
}

@Override
Expand Down

0 comments on commit d11a55a

Please sign in to comment.