File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
lib/elasticsearch/xpack/api/actions Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ module Actions
2222 # Retrieves information about the installed X-Pack features.
2323 #
2424 # @option arguments [List] :categories Comma-separated list of info categories. Can be any of: build, license, features
25+ # @option arguments [Boolean] :accept_enterprise If an enterprise license is installed, return the type and mode as 'enterprise' (default: false)
2526 # @option arguments [Hash] :headers Custom HTTP headers
2627 #
2728 # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/info-api.html
@@ -43,7 +44,8 @@ def info(arguments = {})
4344 #
4445 # @since 6.2.0
4546 ParamsRegistry . register ( :info , [
46- :categories
47+ :categories ,
48+ :accept_enterprise
4749 ] . freeze )
4850 end
4951 end
Original file line number Diff line number Diff line change 2020module Elasticsearch
2121 module Test
2222 class XPackInfoTest < Minitest ::Test
23-
2423 context "XPack: Info" do
2524 subject { FakeClient . new }
2625
@@ -35,9 +34,7 @@ class XPackInfoTest < Minitest::Test
3534
3635 subject . xpack . info
3736 end
38-
3937 end
40-
4138 end
4239 end
4340end
You can’t perform that action at this time.
0 commit comments