lib/elasticsearch/api/actions/snapshot/create.rb in elasticsearch-api-7.0.0 vs lib/elasticsearch/api/actions/snapshot/create.rb in elasticsearch-api-7.1.0
- old
+ new
@@ -37,10 +37,10 @@
# @option arguments [Hash] :body The snapshot definition
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Boolean] :wait_for_completion Whether the request should block and wait until
# the operation has completed
#
- # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html#_snapshot
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html#_snapshot
#
def create(arguments={})
raise ArgumentError, "Required argument 'repository' missing" unless arguments[:repository]
raise ArgumentError, "Required argument 'snapshot' missing" unless arguments[:snapshot]
repository = arguments.delete(:repository)