Skip to content

Commit bece0e5

Browse files
committed
Add size param to Cat/Threadpool whitelist
1 parent 42856dc commit bece0e5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Elasticsearch/Endpoints/Cat/ThreadPool.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ protected function getParamWhitelist()
3838
'help',
3939
'v',
4040
'full_id',
41+
'size'
4142
);
4243
}
4344

src/Elasticsearch/Namespaces/CatNamespace.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ public function snapshots($params = array())
381381
* ['help'] = (bool) Return help information
382382
* ['v'] = (bool) Verbose mode. Display column headers
383383
* ['full_id'] = (bool) Enables displaying the complete node ids
384+
* ['size'] = (enum) The multiplier in which to display values ([ "", "k", "m", "g", "t", "p" ])
384385
*
385386
* @param $params array Associative array of parameters
386387
*

0 commit comments

Comments
 (0)