Fixed - RedisClusterNode.clusterSlots() method throws Exception #4062

pull/4091/head
Nikita Koksharov 3 years ago
parent 11f1dbd5e2
commit 9780f6da2f

@ -42,7 +42,7 @@ public class SlotsDecoder implements MultiDecoder<Object> {
@Override
public Object decode(List<Object> parts, State state) {
if (parts.size() > 2 && parts.get(0) instanceof List) {
if (parts.get(0) instanceof List) {
Map<ClusterSlotRange, Set<String>> result = new HashMap<>();
List<List<Object>> rows = (List<List<Object>>) (Object) parts;
for (List<Object> row : rows) {

Loading…
Cancel
Save