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
c801283f
Commit
c801283f
authored
Nov 07, 2018
by
antirez
Browse files
Fix cluster-replica-no-failover option name.
Thanks to @NicolasLM, see issue #5537.
parent
4c4f50e1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/config.c
View file @
c801283f
...
...
@@ -684,7 +684,7 @@ void loadServerConfigFromString(char *config) {
goto loaderr;
}
} 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)
{
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