mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix SENTINEL SET to require arguments (#9037)
This commit is contained in:
@@ -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