Merge pull request #2386 from inkel/sentinel-add-client-command

Support CLIENT commands in Redis Sentinel
This commit is contained in:
Salvatore Sanfilippo 2015-03-13 18:23:36 +01:00
commit 61fb441c8c

View File

@ -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}
};