Skip to content

Commit

Permalink
Merge branch 'wenyuan-ma-patch-1' of github.com:wenyuan-ma/hiredis-vi…
Browse files Browse the repository at this point in the history
…p into wenyuan-ma-patch-1
  • Loading branch information
wenyuan-ma committed Jul 16, 2018
2 parents ff387df + 50befbf commit a83dc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hircluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

1 comment on commit a83dc0a

@wenyuan-ma
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

兼容redis3

Please sign in to comment.