lib/elasticsearch/xpack/api/actions/watcher/start.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/watcher/start.rb in elasticsearch-xpack-7.9.0.pre
- old
+ new
@@ -22,11 +22,11 @@
module Actions
# Starts Watcher if it is not already running.
#
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/watcher-api-start.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/watcher-api-start.html
#
def start(arguments = {})
headers = arguments.delete(:headers) || {}
arguments = arguments.clone
@@ -36,10 +36,10 @@
params = {}
body = nil
perform_request(method, path, params, body, headers).body
end
+ end
end
- end
end
end
end