diff --git a/redisson/src/main/java/org/redisson/RedissonScript.java b/redisson/src/main/java/org/redisson/RedissonScript.java index 9404e8081..76799bdd3 100644 --- a/redisson/src/main/java/org/redisson/RedissonScript.java +++ b/redisson/src/main/java/org/redisson/RedissonScript.java @@ -107,12 +107,14 @@ public class RedissonScript implements RScript { @Override public R evalSha(Mode mode, String shaDigest, ReturnType returnType, List keys, Object... values) { - return evalSha(null, mode, shaDigest, returnType, keys, values); + String key = getKey(keys); + return evalSha(key, mode, shaDigest, returnType, keys, values); } @Override public RFuture evalShaAsync(Mode mode, String shaDigest, ReturnType returnType, List keys, Object... values) { - return evalShaAsync(null, mode, codec, shaDigest, returnType, keys, values); + String key = getKey(keys); + return evalShaAsync(key, mode, codec, shaDigest, returnType, keys, values); } public RFuture evalShaAsync(String key, Mode mode, Codec codec, String shaDigest, ReturnType returnType, List keys, Object... values) {