summaryrefslogtreecommitdiff
path: root/src/sentinel.c
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2015-03-13 18:23:36 +0100
committerSalvatore Sanfilippo <antirez@gmail.com>2015-03-13 18:23:36 +0100
commit61fb441c8c9b350a48b9f5c3f69a3ce23aa3f9e8 (patch)
tree8fc6af3de7b1035ef89ae0a1e899f80eccf06855 /src/sentinel.c
parente791e2dda19b83307790527ecd5f0086322a1478 (diff)
parentd5e01519e5348ddb9166473f465dfc2dfab303ac (diff)
downloadredis-61fb441c8c9b350a48b9f5c3f69a3ce23aa3f9e8.tar.gz
Merge pull request #2386 from inkel/sentinel-add-client-command
Support CLIENT commands in Redis Sentinel
Diffstat (limited to 'src/sentinel.c')
-rw-r--r--src/sentinel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index c170818c9..a099156e9 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -398,6 +398,7 @@ struct redisCommand sentinelcmds[] = {
{"publish",sentinelPublishCommand,3,"",0,NULL,0,0,0,0,0},
{"info",sentinelInfoCommand,-1,"",0,NULL,0,0,0,0,0},
{"role",sentinelRoleCommand,1,"l",0,NULL,0,0,0,0,0},
+ {"client",clientCommand,-2,"rs",0,NULL,0,0,0,0,0},
{"shutdown",shutdownCommand,-1,"",0,NULL,0,0,0,0,0}
};