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
20268d04
Unverified
Commit
20268d04
authored
May 19, 2021
by
Bonsai
Committed by
GitHub
May 19, 2021
Browse files
Fix different reply on `SENTINEL SIMULATE-FAILURE help` command (#8962)
parent
1bab4cd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
20268d04
...
@@ -3860,6 +3860,7 @@ NULL
...
@@ -3860,6 +3860,7 @@ NULL
addReplyArrayLen
(
c
,
2
);
addReplyArrayLen
(
c
,
2
);
addReplyBulkCString
(
c
,
"crash-after-election"
);
addReplyBulkCString
(
c
,
"crash-after-election"
);
addReplyBulkCString
(
c
,
"crash-after-promotion"
);
addReplyBulkCString
(
c
,
"crash-after-promotion"
);
return
;
}
else
{
}
else
{
addReplyError
(
c
,
"Unknown failure simulation specified"
);
addReplyError
(
c
,
"Unknown failure simulation specified"
);
return
;
return
;
...
...
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