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
gerzse and gerzse authored Mar 18, 2024
1 parent a9d3d3e commit 56ef26a
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 @@ -2088,7 +2088,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 56ef26a

Please sign in to comment.