lib/elasticsearch/api/actions/indices/get_data_stream.rb in elasticsearch-api-8.0.1 vs lib/elasticsearch/api/actions/indices/get_data_stream.rb in elasticsearch-api-8.1.0

- old
+ new

@@ -23,16 +23,17 @@ # # @option arguments [List] :name A comma-separated list of data streams to get; use `*` to get all data streams # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all) # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.1/data-streams.html # def get_data_stream(arguments = {}) - arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil + + arguments = arguments.clone _name = arguments.delete(:name) method = Elasticsearch::API::HTTP_GET path = if _name