mirror of
https://github.com/fluencelabs/redis
synced 2025-04-11 19:56:03 +00:00
Merge pull request #2386 from inkel/sentinel-add-client-command
Support CLIENT commands in Redis Sentinel
This commit is contained in:
commit
61fb441c8c
@ -398,6 +398,7 @@ struct redisCommand sentinelcmds[] = {
|
|||||||
{"publish",sentinelPublishCommand,3,"",0,NULL,0,0,0,0,0},
|
{"publish",sentinelPublishCommand,3,"",0,NULL,0,0,0,0,0},
|
||||||
{"info",sentinelInfoCommand,-1,"",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},
|
{"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}
|
{"shutdown",shutdownCommand,-1,"",0,NULL,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user