Skip to content

Commit f821a42

Browse files
artembilanspring-builds
authored andcommitted
Fix RedisLockRegistry for proper local variable
(cherry picked from commit d8c4d23)
1 parent 54f258a commit f821a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ private boolean removeLockKeyWithScript(RedisScript<Boolean> redisScript) {
712712
String unLockChannelKeyToUse = RedisLockRegistry.this.unLockChannelKey + ":" + this.lockKey;
713713
return Boolean.TRUE.equals(RedisLockRegistry.this.redisTemplate.execute(
714714
redisScript, List.of(this.lockKey),
715-
RedisLockRegistry.this.clientId, unLockChannelKey));
715+
RedisLockRegistry.this.clientId, unLockChannelKeyToUse));
716716
}
717717

718718
private boolean subscribeLock(long time) throws ExecutionException, InterruptedException {

0 commit comments

Comments
 (0)