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
7b87cda7
Commit
7b87cda7
authored
May 15, 2014
by
antirez
Browse files
Fixed typo in CLUSTER RESET implementation.
parent
796f4ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
7b87cda7
...
@@ -3799,7 +3799,7 @@ void clusterCommand(redisClient *c) {
...
@@ -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
);
...
...
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