Browse Source

Deprecate native code info in xpack info api (#43297)

The xpack info api currently returns native code info within each
feature. This commit deprecates retrieving that info, which is now
available directly in the ML info api.
Ryan Ernst 6 years ago
parent
commit
a1942e49e6

+ 5 - 0
client/rest-high-level/src/main/java/org/elasticsearch/client/xpack/XPackInfoResponse.java

@@ -326,6 +326,11 @@ public class XPackInfoResponse {
                 return enabled;
             }
 
+            /**
+             * Return native code info
+             * @deprecated Use ML info api to find native code info
+             */
+            @Deprecated
             @Nullable
             public Map<String, Object> nativeCodeInfo() {
                 return nativeCodeInfo;