lib/elasticsearch/api/actions/snapshot/status.rb in elasticsearch-api-6.2.0 vs lib/elasticsearch/api/actions/snapshot/status.rb in elasticsearch-api-6.3.0
- old
+ new
@@ -13,15 +13,14 @@
#
# client.snapshot.status repository: 'my-backups', human: true
#
# @option arguments [String] :repository A repository name
# @option arguments [List] :snapshot A comma-separated list of snapshot names
- # @option arguments [Boolean] :ignore_unavailable Whether to ignore unavailable snapshots, defaults to # false which means a SnapshotMissingException is thrown
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
- # @option arguments [Number,List] :ignore The list of HTTP errors to ignore
+ # @option arguments [Boolean] :ignore_unavailable Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown
#
- # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html#_snapshot_status
+ # @see http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
#
def status(arguments={})
repository = arguments.delete(:repository)
snapshot = arguments.delete(:snapshot)
@@ -40,11 +39,11 @@
# Register this action with its valid params when the module is loaded.
#
# @since 6.2.0
ParamsRegistry.register(:status, [
- :ignore_unavailable,
- :master_timeout ].freeze)
+ :master_timeout,
+ :ignore_unavailable ].freeze)
end
end
end
end