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
a22168e4
Commit
a22168e4
authored
Sep 10, 2018
by
antirez
Browse files
Slave removal: slave mode -> replica mode text in redis-cli.
parent
0e222fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
a22168e4
...
@@ -1154,7 +1154,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
...
@@ -1154,7 +1154,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
}
}
if
(
config
.
slave_mode
)
{
if
(
config
.
slave_mode
)
{
printf
(
"Entering
slave
output mode... (press Ctrl-C to quit)
\n
"
);
printf
(
"Entering
replica
output mode... (press Ctrl-C to quit)
\n
"
);
slaveMode
();
slaveMode
();
config
.
slave_mode
=
0
;
config
.
slave_mode
=
0
;
zfree
(
argvlen
);
zfree
(
argvlen
);
...
...
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