Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
156599ba
"vscode:/vscode.git/clone" did not exist on "d5aa7e2abe0d832fcad348caff99d006f2ab7740"
Unverified
Commit
156599ba
authored
Jun 04, 2021
by
Wen Hui
Committed by
GitHub
Jun 04, 2021
Browse files
Fix SENTINEL SET to require arguments (#9037)
parent
b512dfe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
156599ba
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment