Unverified Commit e21c0599 authored by Wen Hui's avatar Wen Hui Committed by GitHub
Browse files

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.
parent 0bf90d94
......@@ -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"
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment