From 7b87cda70e1462aa4208c666a7816facf17c8938 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 15 May 2014 12:33:57 +0200 Subject: [PATCH] Fixed typo in CLUSTER RESET implementation. --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index e59cb52d..4b13d36b 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -3799,7 +3799,7 @@ void clusterCommand(redisClient *c) { if (c->argc == 3) { if (!strcasecmp(c->argv[2]->ptr,"hard")) { hard = 1; - } else if (!strcasecmp(c->argv[2]->ptr,"hard")) { + } else if (!strcasecmp(c->argv[2]->ptr,"soft")) { hard = 0; } else { addReply(c,shared.syntaxerr);