From d11a55abc6fcfb7de3fe530bc536db112d7b559e 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 07350b1e1c..409b36270a 100644 --- a/src/main/java/redis/clients/jedis/PipeliningBase.java +++ b/src/main/java/redis/clients/jedis/PipeliningBase.java @@ -2069,7 +2069,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