Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
- "3.2"
- "3.1"
transport:
- "8.3"
- "8.4"
ruby_source:
- 'ruby'
# Only run platinum once for the latest Ruby. You can use lots of combinations, check the
Expand All @@ -38,11 +38,6 @@ steps:
suite: "platinum"
ruby: "3.3"
skip: true
- with:
suite: "free"
ruby: "3.4"
ruby_source: "ruby"
transport: "8.1"
- with:
suite: "free"
ruby: "3.4"
Expand All @@ -57,7 +52,7 @@ steps:
suite: "free"
ruby: "9.4"
ruby_source: "jruby"
transport: "8.3"
transport: "8.4"
command: ./.buildkite/run-tests.sh
# I'm publishing test results to HTML and JUnit in this directory and this directive makes them
# available in the Artifacts tab of a build in Buildkite.
Expand Down
4 changes: 1 addition & 3 deletions elasticsearch-api/lib/elasticsearch/api/actions/cat/help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ module Cat
module Actions
# Returns help for the Cat APIs.
#
# @option arguments [Boolean] :help Return help information
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html
Expand All @@ -40,7 +38,7 @@ def help(arguments = {})

method = Elasticsearch::API::HTTP_GET
path = '_cat'
params = Utils.process_params(arguments)
params = {}

Elasticsearch::API::Response.new(
perform_request(method, path, params, body, headers, request_opts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ module Actions
#
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
# @option arguments [List] :h Comma-separated list of column names to display
# @option arguments [Boolean] :help Return help information
Expand Down
2 changes: 2 additions & 0 deletions elasticsearch-api/lib/elasticsearch/api/actions/cat/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ module Actions
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
# @option arguments [Boolean] :v Verbose mode. Display column headers
# @option arguments [Time] :timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
# @option arguments [Boolean] :wait_for_completion If `true`, the request blocks until the task has completed.
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module Actions
# @option arguments [Time] :timeout Controls the amount of time to wait for the model to deploy.
# @option arguments [String] :wait_for The allocation status for which to wait (options: starting, started, fully_allocated)
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The settings for the trained model deployment
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/start-trained-model-deployment.html
#
Expand All @@ -50,7 +51,7 @@ def start_trained_model_deployment(arguments = {})
arguments = arguments.clone
headers = arguments.delete(:headers) || {}

body = nil
body = arguments.delete(:body)

_model_id = arguments.delete(:model_id)

Expand Down