mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
Fixed typo in CLUSTER RESET implementation.
This commit is contained in:
parent
796f4ae9f7
commit
7b87cda70e
@ -3799,7 +3799,7 @@ void clusterCommand(redisClient *c) {
|
|||||||
if (c->argc == 3) {
|
if (c->argc == 3) {
|
||||||
if (!strcasecmp(c->argv[2]->ptr,"hard")) {
|
if (!strcasecmp(c->argv[2]->ptr,"hard")) {
|
||||||
hard = 1;
|
hard = 1;
|
||||||
} else if (!strcasecmp(c->argv[2]->ptr,"hard")) {
|
} else if (!strcasecmp(c->argv[2]->ptr,"soft")) {
|
||||||
hard = 0;
|
hard = 0;
|
||||||
} else {
|
} else {
|
||||||
addReply(c,shared.syntaxerr);
|
addReply(c,shared.syntaxerr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user