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
dfe81b33
Commit
dfe81b33
authored
Dec 04, 2018
by
yongman
Browse files
Fix cluster call reply format readable
parent
46a51cdc
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
dfe81b33
...
...
@@ -5404,7 +5404,7 @@ static int clusterManagerCommandCall(int argc, char **argv) {
if
(
status
!=
REDIS_OK
||
reply
==
NULL
)
printf
(
"%s:%d: Failed!
\n
"
,
n
->
ip
,
n
->
port
);
else
{
sds
formatted_reply
=
cliFormatReply
TTY
(
reply
,
""
);
sds
formatted_reply
=
cliFormatReply
Raw
(
reply
);
printf
(
"%s:%d: %s
\n
"
,
n
->
ip
,
n
->
port
,
(
char
*
)
formatted_reply
);
sdsfree
(
formatted_reply
);
}
...
...
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