Skip to content

Commit 0a79bf4

Browse files
committed
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 11ef5e6 commit 0a79bf4

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

Lines changed: 5 additions & 0 deletions
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)