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[] = { ...@@ -3662,8 +3662,8 @@ struct redisCommandArg SENTINEL_CONFIG_action_set_Subargs[] = {
/* SENTINEL CONFIG action argument table */ /* SENTINEL CONFIG action argument table */
struct redisCommandArg SENTINEL_CONFIG_action_Subargs[] = { struct redisCommandArg SENTINEL_CONFIG_action_Subargs[] = {
{"set",ARG_TYPE_BLOCK,-1,"SET",NULL,NULL,CMD_ARG_MULTIPLE,.subargs=SENTINEL_CONFIG_action_set_Subargs}, {"set",ARG_TYPE_BLOCK,-1,"SET",NULL,NULL,CMD_ARG_NONE,.subargs=SENTINEL_CONFIG_action_set_Subargs},
{"get",ARG_TYPE_STRING,-1,"GET",NULL,NULL,CMD_ARG_MULTIPLE,.display_text="parameter"}, {"parameter",ARG_TYPE_STRING,-1,"GET",NULL,NULL,CMD_ARG_NONE},
{0} {0}
}; };
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
"name":"set", "name":"set",
"token":"SET", "token":"SET",
"type":"block", "type":"block",
"multiple":true,
"arguments":[ "arguments":[
{ {
"name":"parameter", "name":"parameter",
...@@ -35,9 +34,7 @@ ...@@ -35,9 +34,7 @@
}, },
{ {
"token":"GET", "token":"GET",
"multiple":true, "name":"parameter",
"name":"get",
"display":"parameter",
"type":"string" "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