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 <gabriel.erzse@redis.com>
  • Loading branch information
2 people authored and sazzad16 committed May 20, 2024
1 parent d11a55a commit 2489a84
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 2489a84

Please sign in to comment.