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
c1295bb9
Unverified
Commit
c1295bb9
authored
Mar 18, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 18, 2020
Browse files
Merge pull request #6996 from artix75/redis_cli_proxy_info
Support Redis Cluster Proxy PROXY INFO command
parents
c52415b2
771df8a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
c1295bb9
...
@@ -1292,7 +1292,11 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
...
@@ -1292,7 +1292,11 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
(
argc
==
3
&&
!
strcasecmp
(
command
,
"latency"
)
&&
(
argc
==
3
&&
!
strcasecmp
(
command
,
"latency"
)
&&
!
strcasecmp
(
argv
[
1
],
"graph"
))
||
!
strcasecmp
(
argv
[
1
],
"graph"
))
||
(
argc
==
2
&&
!
strcasecmp
(
command
,
"latency"
)
&&
(
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
;
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