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.
This commit is contained in:
Ryan Ernst 2019-06-18 07:23:05 -07:00
parent 11ef5e63ae
commit 0a79bf431a

View File

@ -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;