Unverified Commit c1295bb9 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #6996 from artix75/redis_cli_proxy_info

Support Redis Cluster Proxy PROXY INFO command
parents c52415b2 771df8a4
...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment