From 56ef26aed653aefad4bcb93f439b5b1c61f11bcc Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Mon, 18 Mar 2024 13:06:41 +0200 Subject: [PATCH] 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 --- src/main/java/redis/clients/jedis/PipeliningBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/redis/clients/jedis/PipeliningBase.java b/src/main/java/redis/clients/jedis/PipeliningBase.java index 62b773cdab..945d34f615 100644 --- a/src/main/java/redis/clients/jedis/PipeliningBase.java +++ b/src/main/java/redis/clients/jedis/PipeliningBase.java @@ -2088,7 +2088,7 @@ public Response expireAt(byte[] key, long unixTime) { @Override public Response expireAt(byte[] key, long unixTime, ExpiryOption expiryOption) { - return appendCommand(commandObjects.expireAt(key, unixTime)); + return appendCommand(commandObjects.expireAt(key, unixTime, expiryOption)); } @Override