From 8acbfaab392970d802f0b220c641e05024f68896 Mon Sep 17 00:00:00 2001 From: lihengheng Date: Fri, 1 Nov 2024 09:06:09 +0000 Subject: [PATCH] fixed spelling error Signed-off-by: lihengheng --- .../java/com/hnkylin/cloud/core/cache/RedisServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcp-cloud-core/src/main/java/com/hnkylin/cloud/core/cache/RedisServiceImpl.java b/mcp-cloud-core/src/main/java/com/hnkylin/cloud/core/cache/RedisServiceImpl.java index 30f5500..f814959 100644 --- a/mcp-cloud-core/src/main/java/com/hnkylin/cloud/core/cache/RedisServiceImpl.java +++ b/mcp-cloud-core/src/main/java/com/hnkylin/cloud/core/cache/RedisServiceImpl.java @@ -102,12 +102,12 @@ public abstract class RedisServiceImpl { public Object executeLuaScript(RedisScript redisScript, List keys, Object... argvs) { - List newKyes = new ArrayList<>(keys.size()); + List newKeys = new ArrayList<>(keys.size()); keys.forEach(key -> { - newKyes.add(fixKey(key)); + newKeys.add(fixKey(key)); }); - return valueOps.getOperations().execute(redisScript, newKyes, argvs); + return valueOps.getOperations().execute(redisScript, newKeys, argvs); } -- Gitee