Fix SENTINEL SET to require arguments (#9037)
This commit is contained in:
+1
-1
@@ -3767,7 +3767,7 @@ NULL
|
||||
addReplySds(c,e);
|
||||
}
|
||||
} else if (!strcasecmp(c->argv[1]->ptr,"set")) {
|
||||
if (c->argc < 3) goto numargserr;
|
||||
if (c->argc <= 3) goto numargserr;
|
||||
sentinelSetCommand(c);
|
||||
} else if (!strcasecmp(c->argv[1]->ptr,"config")) {
|
||||
if (c->argc < 3) goto numargserr;
|
||||
|
||||
Reference in New Issue
Block a user