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
771df8a4
Commit
771df8a4
authored
Feb 18, 2020
by
artix
Browse files
Support Redis Cluster Proxy PROXY INFO command
parent
bce9a68b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
771df8a4
...
...
@@ -1292,7 +1292,11 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
(
argc
==
3
&&
!
strcasecmp
(
command
,
"latency"
)
&&
!
strcasecmp
(
argv
[
1
],
"graph"
))
||
(
argc
==
2
&&
!
strcasecmp
(
command
,
"latency"
)
&&
!
strcasecmp
(
argv
[
1
],
"doctor"
)))
!
strcasecmp
(
argv
[
1
],
"doctor"
))
||
/* Format PROXY INFO command for Redis Cluster Proxy:
* https://github.com/artix75/redis-cluster-proxy */
(
argc
>=
2
&&
!
strcasecmp
(
command
,
"proxy"
)
&&
!
strcasecmp
(
argv
[
1
],
"info"
)))
{
output_raw
=
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