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
95324b81
Commit
95324b81
authored
Feb 18, 2020
by
artix
Committed by
antirez
Mar 25, 2020
Browse files
Support Redis Cluster Proxy PROXY INFO command
parent
04c53fa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
95324b81
...
...
@@ -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