Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed Jul 17, 2023
1 parent 71f97bd commit f3ec899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/java/org/elasticsearch/TransportVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ private static TransportVersion registerTransportVersion(int id, String uniqueId
public static final TransportVersion V_8_500_035 = registerTransportVersion(8_500_035, "664dd6ce-3487-4fbd-81a9-af778b28be45");

// Introduced for stateless plugin
public static final TransportVersion V_8_500_035 = registerTransportVersion(8_500_035, "3343c64f-d7ac-4f02-9262-3e1acfc56f89");
public static final TransportVersion V_8_500_036 = registerTransportVersion(8_500_036, "3343c64f-d7ac-4f02-9262-3e1acfc56f89");

private static class CurrentHolder {
private static final TransportVersion CURRENT = findCurrent(V_8_500_035);
private static final TransportVersion CURRENT = findCurrent(V_8_500_036);

// finds the pluggable current version, or uses the given fallback
private static TransportVersion findCurrent(TransportVersion fallback) {
Expand Down

0 comments on commit f3ec899

Please sign in to comment.