diff --git a/hircluster.c b/hircluster.c index c270ca2..20f137d 100644 --- a/hircluster.c +++ b/hircluster.c @@ -853,7 +853,7 @@ parse_cluster_slots(redisClusterContext *cc, }else{ elem_nodes = elem_slots->element[idx]; if(elem_nodes->type != REDIS_REPLY_ARRAY || - elem_nodes->elements != 2){ + elem_nodes->elements < 2){ __redisClusterSetError(cc, REDIS_ERR_OTHER, "Command(cluster slots) reply error: " "nodes sub_reply is not an correct array.");