|
9 | 9 | import co.elastic.clients.elasticsearch.nodes.info.NodeProcessInfo;
|
10 | 10 | import co.elastic.clients.elasticsearch.nodes.info.NodeThreadPoolInfo;
|
11 | 11 | import org.elasticsearch.Build;
|
12 |
| -import org.elasticsearch.TransportVersion; |
13 | 12 | import org.elasticsearch.Version;
|
14 | 13 | import org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse;
|
15 | 14 | import org.elasticsearch.action.admin.cluster.node.info.PluginsAndModules;
|
|
18 | 17 | import org.elasticsearch.cluster.node.DiscoveryNode;
|
19 | 18 | import org.elasticsearch.cluster.node.DiscoveryNodeRole;
|
20 | 19 | import org.elasticsearch.cluster.node.VersionInformation;
|
| 20 | +import org.elasticsearch.cluster.version.CompatibilityVersions; |
21 | 21 | import org.elasticsearch.common.settings.Settings;
|
22 | 22 | import org.elasticsearch.common.transport.BoundTransportAddress;
|
23 | 23 | import org.elasticsearch.common.transport.TransportAddress;
|
@@ -155,7 +155,7 @@ protected NodesInfoResponse convertResponse(co.elastic.clients.elasticsearch.nod
|
155 | 155 | if (Objects.nonNull(nodeInfo.totalIndexingBuffer())) {
|
156 | 156 | totalIndexingBuffer = ByteSizeValue.ofBytes(nodeInfo.totalIndexingBuffer());
|
157 | 157 | }
|
158 |
| - nodes.add(new org.elasticsearch.action.admin.cluster.node.info.NodeInfo(nodeInfo.version(), TransportVersion.current(), IndexVersion.current(), Collections.emptyMap(), build, node, settings, os, process, jvm, threadPool, transport, http, null, plugins, ingest, aggsInfo, totalIndexingBuffer)); |
| 158 | + nodes.add(new org.elasticsearch.action.admin.cluster.node.info.NodeInfo(nodeInfo.version(), CompatibilityVersions.EMPTY, IndexVersion.current(), Collections.emptyMap(), build, node, settings, os, process, jvm, threadPool, transport, http, null, plugins, ingest, aggsInfo, totalIndexingBuffer)); |
159 | 159 | }
|
160 | 160 | }
|
161 | 161 | return new NodesInfoResponse(new ClusterName(nodesInfoResponse.clusterName()), nodes, Collections.emptyList());
|
|
0 commit comments