Skip to content

Commit

Permalink
Add size param to Cat/Threadpool whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed May 9, 2016
1 parent 42856dc commit bece0e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Elasticsearch/Endpoints/Cat/ThreadPool.php
Expand Up @@ -38,6 +38,7 @@ protected function getParamWhitelist()
'help',
'v',
'full_id',
'size'
);
}

Expand Down
1 change: 1 addition & 0 deletions src/Elasticsearch/Namespaces/CatNamespace.php
Expand Up @@ -381,6 +381,7 @@ public function snapshots($params = array())
* ['help'] = (bool) Return help information
* ['v'] = (bool) Verbose mode. Display column headers
* ['full_id'] = (bool) Enables displaying the complete node ids
* ['size'] = (enum) The multiplier in which to display values ([ "", "k", "m", "g", "t", "p" ])
*
* @param $params array Associative array of parameters
*
Expand Down

0 comments on commit bece0e5

Please sign in to comment.