lib/elasticsearch/api/actions/nodes/usage.rb in elasticsearch-api-7.9.0.pre vs lib/elasticsearch/api/actions/nodes/usage.rb in elasticsearch-api-7.9.0
- old
+ new
@@ -20,16 +20,14 @@
module Nodes
module Actions
# Returns low-level information about REST actions usage on nodes.
#
# @option arguments [List] :node_id A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
- # @option arguments [List] :metric Limit the information returned to the specified metrics
- # (options: _all,rest_actions)
-
+ # @option arguments [List] :metric Limit the information returned to the specified metrics (options: _all, rest_actions)
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cluster-nodes-usage.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/cluster-nodes-usage.html
#
def usage(arguments = {})
headers = arguments.delete(:headers) || {}
arguments = arguments.clone