Skip to content

Commit

Permalink
Reintroduce non-semantic version in NodeInfo (revert elastic#102636)
Browse files Browse the repository at this point in the history
Kibana has updated its codebase to handle non-semver (elastic/kibana#172093), so we can now safely reintroduce our change.
  • Loading branch information
ldematte committed Feb 20, 2024
1 parent 6126468 commit 9905037
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/main/java/org/elasticsearch/node/NodeService.java
Expand Up @@ -10,7 +10,6 @@

import org.elasticsearch.Build;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.Version;
import org.elasticsearch.action.admin.cluster.node.info.ComponentVersionNumber;
import org.elasticsearch.action.admin.cluster.node.info.NodeInfo;
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
Expand Down Expand Up @@ -120,8 +119,7 @@ public NodeInfo info(
boolean indices
) {
return new NodeInfo(
// TODO: revert to Build.current().version() when Kibana is updated
Version.CURRENT.toString(),
Build.current().version(),
TransportVersion.current(),
IndexVersion.current(),
componentVersions,
Expand Down

0 comments on commit 9905037

Please sign in to comment.