Skip to content

Commit 1e1992b

Browse files
committed
[API] Updates some urls
1 parent 3dce70a commit 1e1992b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_component_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# @option arguments [Time] :master_timeout Specify timeout for connection to master
2727
# @option arguments [Hash] :headers Custom HTTP headers
2828
#
29-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-templates.html
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-template.html
3030
#
3131
def delete_component_template(arguments = {})
3232
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]

elasticsearch-api/lib/elasticsearch/api/actions/cluster/exists_component_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
2727
# @option arguments [Hash] :headers Custom HTTP headers
2828
#
29-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-templates.html
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-template.html
3030
#
3131
def exists_component_template(arguments = {})
3232
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]

elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_component_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
2727
# @option arguments [Hash] :headers Custom HTTP headers
2828
#
29-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-templates.html
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-template.html
3030
#
3131
def get_component_template(arguments = {})
3232
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cluster/put_component_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Actions
2828
# @option arguments [Hash] :headers Custom HTTP headers
2929
# @option arguments [Hash] :body The template definition (*Required*)
3030
#
31-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-templates.html
31+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-component-template.html
3232
#
3333
def put_component_template(arguments = {})
3434
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]

elasticsearch-api/lib/elasticsearch/api/actions/indices/put_mapping.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def put_mapping(arguments = {})
5656
path = if _index && _type
5757
"#{Utils.__listify(_index)}/#{Utils.__listify(_type)}/_mappings"
5858
elsif _index
59-
"#{Utils.__listify(_index)}/_mapping"
59+
"#{Utils.__listify(_index)}/_mappings"
6060
elsif _type
6161
"_mappings/#{Utils.__listify(_type)}"
6262
end

elasticsearch-api/lib/elasticsearch/api/actions/snapshot/delete_repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Snapshot
2121
module Actions
2222
# Deletes a repository.
2323
#
24-
# @option arguments [List] :repository A comma-separated list of repository names
24+
# @option arguments [List] :repository Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.
2525
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2626
# @option arguments [Time] :timeout Explicit operation timeout
2727
# @option arguments [Hash] :headers Custom HTTP headers

0 commit comments

Comments
 (0)