change health from string to enum (#20661)

This commit is contained in:
Martijn Laarman 2016-09-26 22:44:30 +02:00 committed by GitHub
parent 27496d6b92
commit e5f1eb5dc9
1 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@
"description" : "Comma-separated list of column names to display" "description" : "Comma-separated list of column names to display"
}, },
"health": { "health": {
"type" : "string", "type" : "enum",
"description" : "A health status (\"green\", \"yellow\", or \"red\" to filter only indices matching the specified health status" "options" : ["green","yellow","red"],
"default" : null,
"description" : "A health status (\"green\", \"yellow\", or \"red\" to filter only indices matching the specified health status"
}, },
"help": { "help": {
"type": "boolean", "type": "boolean",