Skip to content

Commit a1942e4

Browse files
authored
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.
1 parent f6a06d8 commit a1942e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,11 @@ public boolean enabled() {
326326
return enabled;
327327
}
328328

329+
/**
330+
* Return native code info
331+
* @deprecated Use ML info api to find native code info
332+
*/
333+
@Deprecated
329334
@Nullable
330335
public Map<String, Object> nativeCodeInfo() {
331336
return nativeCodeInfo;

0 commit comments

Comments
 (0)