Fix cat thread pool API spec

This commit fixes an issue with the cat thread pool API spec. Namely,
the name of the variable for the thread pool patterns parameter was
misnamed in the spec.

Relates #21332
This commit is contained in:
Jayson Minard 2016-11-04 13:25:11 -03:00 committed by Jason Tedor
parent e042536082
commit a978f13660

View File

@ -4,8 +4,12 @@
"methods": ["GET"],
"url": {
"path": "/_cat/thread_pool",
"paths": ["/_cat/thread_pool","/_cat/thread_pool/{thread_pools}"],
"paths": ["/_cat/thread_pool","/_cat/thread_pool/{thread_pool_patterns}"],
"parts": {
"thread_pool_patterns": {
"type": "list",
"description": "A comma-separated list of regular-expressions to filter the thread pools in the output"
}
},
"params": {
"format": {
@ -42,10 +46,6 @@
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"thread_pool_patterns": {
"type": "list",
"description": "A comma-separated list of regular-expressions to filter the thread pools in the output"
}
}
},