mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
Update sentinel-config.json to consistent with Config Get and Set operation (#11334)
The sentinel CONFIG GET command doesn't support multiple arguments, but the json file did. remove that.
This commit is contained in:
parent
0bf90d9443
commit
e21c059967
@ -3662,8 +3662,8 @@ struct redisCommandArg SENTINEL_CONFIG_action_set_Subargs[] = {
|
||||
|
||||
/* SENTINEL CONFIG action argument table */
|
||||
struct redisCommandArg SENTINEL_CONFIG_action_Subargs[] = {
|
||||
{"set",ARG_TYPE_BLOCK,-1,"SET",NULL,NULL,CMD_ARG_MULTIPLE,.subargs=SENTINEL_CONFIG_action_set_Subargs},
|
||||
{"get",ARG_TYPE_STRING,-1,"GET",NULL,NULL,CMD_ARG_MULTIPLE,.display_text="parameter"},
|
||||
{"set",ARG_TYPE_BLOCK,-1,"SET",NULL,NULL,CMD_ARG_NONE,.subargs=SENTINEL_CONFIG_action_set_Subargs},
|
||||
{"parameter",ARG_TYPE_STRING,-1,"GET",NULL,NULL,CMD_ARG_NONE},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
"name":"set",
|
||||
"token":"SET",
|
||||
"type":"block",
|
||||
"multiple":true,
|
||||
"arguments":[
|
||||
{
|
||||
"name":"parameter",
|
||||
@ -35,9 +34,7 @@
|
||||
},
|
||||
{
|
||||
"token":"GET",
|
||||
"multiple":true,
|
||||
"name":"get",
|
||||
"display":"parameter",
|
||||
"name":"parameter",
|
||||
"type":"string"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user