There was an error while loading. Please reload this page.
1 parent 363195b commit 892e564Copy full SHA for 892e564
1 file changed
cluster_library.c
@@ -616,7 +616,7 @@ clusterReply* cluster_get_slots(RedisSock *redis_sock TSRMLS_DC)
616
617
// Consume the rest of our response
618
if((r = cluster_read_sock_resp(redis_sock, type, len TSRMLS_CC))==NULL ||
619
- r->type != TYPE_MULTIBULK || r->elements < 3)
+ r->type != TYPE_MULTIBULK || r->elements < 1)
620
{
621
if(r) cluster_free_reply(r, 1);
622
return NULL;
0 commit comments