lib/elasticsearch/api/actions/profiling/status.rb in elasticsearch-api-8.12.2 vs lib/elasticsearch/api/actions/profiling/status.rb in elasticsearch-api-8.13.0

- old
+ new

@@ -27,21 +27,21 @@ # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node # @option arguments [Time] :timeout Explicit operation timeout # @option arguments [Boolean] :wait_for_resources_created Whether to return immediately or wait until resources have been created # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/observability/8.12/universal-profiling.html + # @see https://www.elastic.co/guide/en/observability/8.13/universal-profiling.html # def status(arguments = {}) - request_opts = { endpoint: arguments[:endpoint] || "profiling.status" } + request_opts = { endpoint: arguments[:endpoint] || 'profiling.status' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET - path = "_profiling/status" + path = '_profiling/status' params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) )