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
0cb798ea
Commit
0cb798ea
authored
Nov 07, 2018
by
antirez
Browse files
Fix cluster-replica-no-failover option name.
Thanks to @NicolasLM, see issue #5537.
parent
560cdf35
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
0cb798ea
...
@@ -684,7 +684,7 @@ void loadServerConfigFromString(char *config) {
...
@@ -684,7 +684,7 @@ void loadServerConfigFromString(char *config) {
goto loaderr;
goto loaderr;
}
}
} else if ((!strcasecmp(argv[0],"cluster-slave-no-failover") ||
} else if ((!strcasecmp(argv[0],"cluster-slave-no-failover") ||
!
strcasecmp
(
argv
[
0
],
"cluster-replica-no-fail
i
ver"
))
&&
!strcasecmp(argv[0],"cluster-replica-no-fail
o
ver")) &&
argc == 2)
argc == 2)
{
{
server.cluster_slave_no_failover = yesnotoi(argv[1]);
server.cluster_slave_no_failover = yesnotoi(argv[1]);
...
...
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