Skip to content
Merged
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
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