Adds command introspection to Sentinel (#7940)
Adds the `COMMAND` command to Sentinel.
This commit is contained in:
parent
c1ff07dfbb
commit
79594252e5
@ -466,7 +466,8 @@ struct redisCommand sentinelcmds[] = {
|
|||||||
{"shutdown",shutdownCommand,-1,"admin",0,NULL,0,0,0,0,0},
|
{"shutdown",shutdownCommand,-1,"admin",0,NULL,0,0,0,0,0},
|
||||||
{"auth",authCommand,-2,"no-auth fast @connection",0,NULL,0,0,0,0,0},
|
{"auth",authCommand,-2,"no-auth fast @connection",0,NULL,0,0,0,0,0},
|
||||||
{"hello",helloCommand,-2,"no-auth fast @connection",0,NULL,0,0,0,0,0},
|
{"hello",helloCommand,-2,"no-auth fast @connection",0,NULL,0,0,0,0,0},
|
||||||
{"acl",aclCommand,-2,"admin",0,NULL,0,0,0,0,0,0}
|
{"acl",aclCommand,-2,"admin",0,NULL,0,0,0,0,0,0},
|
||||||
|
{"command",commandCommand,-1, "random @connection", 0,NULL,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This function overwrites a few normal Redis config default with Sentinel
|
/* This function overwrites a few normal Redis config default with Sentinel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user