Skip to content

Commit

Permalink
Fix UnifiedJedis pexpireAt glitch (#3782)
Browse files Browse the repository at this point in the history
One of the versions of UnifiedJedis.pexpireAt methods is calling the
wrong method on CommandObjects.

Co-authored-by: Gabriel Erzse <[email protected]>
  • Loading branch information
gerzse and gerzse authored Mar 22, 2024
1 parent 8b4f421 commit 47df10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/UnifiedJedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public long pexpireAt(byte[] key, long millisecondsTimestamp) {

@Override
public long pexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption) {
return executeCommand(commandObjects.expireAt(key, millisecondsTimestamp, expiryOption));
return executeCommand(commandObjects.pexpireAt(key, millisecondsTimestamp, expiryOption));
}

@Override
Expand Down

0 comments on commit 47df10e

Please sign in to comment.