Skip to content

Commit

Permalink
[bug] fix field access (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadadw1 authored Apr 9, 2024
2 parents c21df60 + dfe24f9 commit 39dbd00
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ private Map<JedisPool, List<String>> getPoolKeyMap(List<String> keys) {
Map<JedisPool, List<String>> poolKeysMap = new LinkedHashMap<JedisPool, List<String>>();
try {
Field field = JedisClusterConnectionHandler.class.getDeclaredField("cache");
field.setAccessible(true);
for (String key : keys) {
JedisPool jedisPool;
int slot = JedisClusterCRC16.getSlot(key);
Expand Down

0 comments on commit 39dbd00

Please sign in to comment.