mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
small comment added
This commit is contained in:
parent
ab52d1f4a8
commit
2b9ce0192e
@ -1275,7 +1275,10 @@ void clusterCommand(redisClient *c) {
|
||||
addReplyBulk(c,o);
|
||||
decrRefCount(o);
|
||||
} else if ((!strcasecmp(c->argv[1]->ptr,"addslots") ||
|
||||
!strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3) {
|
||||
!strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3)
|
||||
{
|
||||
/* CLUSTER ADDSLOTS <slot> [slot] ... */
|
||||
/* CLUSTER DELSLOTS <slot> [slot] ... */
|
||||
int j, slot;
|
||||
unsigned char *slots = zmalloc(REDIS_CLUSTER_SLOTS);
|
||||
int del = !strcasecmp(c->argv[1]->ptr,"delslots");
|
||||
|
Loading…
x
Reference in New Issue
Block a user