File tree 1 file changed +2
-1
lines changed
elasticsearch-api/lib/elasticsearch/api/actions/indices
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ module Actions
30
30
#
31
31
# @option arguments [String] :index The name of the index to explain
32
32
# @option arguments [Boolean] :include_defaults indicates if the API should return the default values the system uses for the index's lifecycle
33
+ # @option arguments [Time] :master_timeout Specify timeout for connection to master
33
34
# @option arguments [Hash] :headers Custom HTTP headers
34
35
#
35
36
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-explain-lifecycle.html
@@ -44,7 +45,7 @@ def explain_data_lifecycle(arguments = {})
44
45
45
46
_index = arguments . delete ( :index )
46
47
47
- method = Elasticsearch ::API ::HTTP_POST
48
+ method = Elasticsearch ::API ::HTTP_GET
48
49
path = "#{ Utils . __listify ( _index ) } /_lifecycle/explain"
49
50
params = Utils . process_params ( arguments )
50
51
You can’t perform that action at this time.
0 commit comments