lib/elasticsearch/xpack/api/actions/machine_learning/info.rb in elasticsearch-xpack-7.4.0 vs lib/elasticsearch/xpack/api/actions/machine_learning/info.rb in elasticsearch-xpack-7.5.0.pre.pre
- old
+ new
@@ -5,24 +5,25 @@
module Elasticsearch
module XPack
module API
module MachineLearning
module Actions
-
# TODO: Description
+
#
- #
# @see [TODO]
#
- def info(arguments={})
+ def info(arguments = {})
+ arguments = arguments.clone
+
method = Elasticsearch::API::HTTP_GET
- path = "_xpack/ml/info"
+ path = "_ml/info"
params = {}
- body = nil
+ body = nil
perform_request(method, path, params, body).body
end
- end
end
+ end
end
end
end