Skip to content

Commit 559e9d3

Browse files
[API] Updates cluster.reroute
`metric` parameter adds `none` option Co-authored-by: Fernando Briano <[email protected]>
1 parent b3351d2 commit 559e9d3

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/cluster

1 file changed

+1
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cluster/reroute.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Actions
2727
# @option arguments [Boolean] :dry_run Simulate the operation only and return the resulting state
2828
# @option arguments [Boolean] :explain Return an explanation of why the commands can or cannot be executed
2929
# @option arguments [Boolean] :retry_failed Retries allocation of shards that are blocked due to too many subsequent allocation failures
30-
# @option arguments [List] :metric Limit the information returned to the specified metrics. Defaults to all but metadata (options: _all, blocks, metadata, nodes, routing_table, master_node, version)
30+
# @option arguments [List] :metric Limit the information returned to the specified metrics. Defaults to all but metadata (options: _all, blocks, metadata, nodes, none, routing_table, master_node, version)
3131
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
3232
# @option arguments [Time] :timeout Explicit operation timeout
3333
# @option arguments [Hash] :headers Custom HTTP headers

0 commit comments

Comments
 (0)